/* --------------------------------------- */
/* currencies_today */

.currency-card {
    border: 1px solid #eee;
    transition: all 0.2s ease;
    overflow: hidden;
}

.currency-card:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.currency-link {
    color: inherit;
}

.currency-link:hover {
    text-decoration: none;
}

.currency-rate {
    font-size: 1rem;
    line-height: 1.2;
}

.currency-name {
    line-height: 1.2;
}

/* --------------------------------------- */
/* currencies_form */

.basket-box {
    border: 1px solid #eee;
    overflow: hidden;
    background: #fff;
}

.basket-item {
    transition: background 0.2s ease;
    min-height: 54px;
}

.basket-item:hover {
    background: #e9ecef !important;
    color: #ffffff;
    text-decoration: none;
}

.basket-item img {
    object-fit: cover;
}

.fx-chart-card {
    border: 1px solid #eee;
    background: #fff;
}

.fx-rate-chart {
    min-height: 280px;
}

.fx-chart-loading {
    position: relative;
    min-height: 280px;
    background: linear-gradient(90deg, #f3f4f6 25%, #eceff3 37%, #f3f4f6 63%);
    background-size: 400% 100%;
    animation: fx-chart-skeleton 1.2s ease-in-out infinite;
    border-radius: 0.375rem;
}

@keyframes fx-chart-skeleton {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}



.basket-row:hover {
    background-color: #e9ecef; /* light gray, Bootstrap’s bg-light slightly darker */
    cursor: pointer;
}
.currency-dropdown-overlay{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    margin-top:4px;

    background:#fff;
    border:1px solid #ddd;
    border-radius:4px;
    max-height:250px;
    overflow-y:auto;

    z-index:9999;
}
/* dropdown container */
.currency-dropdown-overlay{
    background:#fff;
    border:1px solid #ddd;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

/* each item */
.currency-item{
    padding:8px 12px;
    cursor:pointer;
}

/* clickable link */
.currency-item a{
    text-decoration:none;
    color:#333;
    display:block;
}

/* alternate rows */
.currency-item:nth-child(even){
    background:#f7f7f7;
}

/* hover effect */
.currency-item:hover{
    background:#e8f2ff;
}

/* flag spacing */
.currency-item img{
    margin-right:8px;
    vertical-align:middle;
}

/* currencies_basket
================================================== */
.currency-basket-list {
    background: #fff;
    border: 1px solid #eee;
}

.basket-select-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.basket-select-row:hover {
    background-color: #e9ecef;
}

.basket-alt-row {
    background-color: #f8f9fa;
}

.basket-select-row input[type="checkbox"] {
    transform: scale(1.1);
    cursor: pointer;
}

.basket-select-row img {
    object-fit: cover;
}

/* --------------------------------------- */









