:root {
    --primary-font: 'Arial', sans-serif;
    --bg-color: #e9eff5;
    --container-bg: #ffffff;
    --border-color: #ddd;
    --widget-bg: #fefefe;
    --hover-bg: #fafafa;
    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 2px 4px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #007bff;
    --highlight-color: #ff6f61;
}

/* body {
    font-family: var(--primary-font);
    margin: 20px;
    background-color: var(--bg-color);
    color: var(--primary-color);
} */

/* Main container */
.currency-container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0px auto;
    padding: 0px;
    /* position: absolute; */
    /* background: var(--container-bg); */
    /* border: 1px solid var(--border-color); */
    /* box-shadow: var(--shadow-medium); */
     /* border-radius: 12px; */
}

/* Header */
.currency-header {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
}

/* Content layout */
.currency-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 30px;
}

.currency-content-nodata {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 30px;
}

.currency-list-column,
.conversion-column {
    flex: 1;
    min-width: 45%;
    padding: 2px 15px;
}

/* Each currency widget */
.currency-widget {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    background: var(--widget-bg);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}



/* Blank widget (for spacing/alignment) */
.currency-widget-blank {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 15px 0;
    height: 90px;
}

/* Icons container arranged vertically */
.icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.icons span {
    font-size: 16px;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.icons span:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Currency information */
.currency-info {
    margin-left: 7px;
}

.currency-code {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.country-name,
.currency-country {
    font-size: 13px;
    color: var(--secondary-color);
    margin: 0;
}

/* Conversion Section */
.conversion-title {
    font-weight: bold;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 1.2em;
    color: var(--highlight-color);
}

.conversion-pair {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.conversion-label {
    margin-right: 8px;
    font-size: 1em;
}

.conversion-input {
    border: none;
    border-bottom: 2px solid var(--border-color);
    width: 60px;
    text-align: center;
    margin-right: 8px;
    padding: 4px 2px;
    transition: border-color var(--transition-speed);
}

.conversion-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.target-currency {
    font-weight: bold;
    margin-right: 12px;
    font-size: 1em;
}

.flip-conversion {
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.flip-conversion:hover {
    color: var(--highlight-color);
}

.reverse-conversions {
    margin-top: 30px;
    text-align: center;
}

/* Additional utility classes */
.input-max-width {
    max-width: 100px;
}

.checkbox {
    margin-right: 10px;
    font-size: 0.9em;
    color: var(--secondary-color);
}

.flipbtn {
    font-size: 12px;
    background: #5fb924;
    color: white;
    margin: 0px;
    position: relative;
    left: 59%;
}



.currencyList {
    position: absolute;
    top: 40px;
    width: 93%;
    background: rgb(255, 255, 255) !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9000;
    padding: 5px;
    padding-left: 5px;
}




/* 
.currencyList {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.currency_row {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s;
}

.currency_row:last-child {
    border-bottom: none;
}

.currency_row:hover {
    background: #f5f5f5;
}

.star-rating {
    float: right;
    color: #ffcc00;
} */