/*#currency.res.panel {*/
/*    min-width: 200px;*/
/*    max-width: 200px;*/
/*}*/
/*#currency thead th {*/
/*    text-align: center;*/
/*    background-color: var(--main-panel-bgcolor);*/
/*    color: black;*/
/*}*/
/*#currency thead th.first {*/
/*    width: 100px;*/
/*}*/

/*#currency .rate {*/
/*    cursor: pointer;*/
/*}*/

/*#currency thead .rate:after {*/
/*    opacity: 0.3;*/
/*    content: '__';*/
/*    color: transparent;*/
/*    display: inline-block;*/
/*    background-image: url('../../pict/history.svg');*/
/*    background-repeat: no-repeat;*/
/*}*/
/*#currency thead .rate:hover:after {*/
/*    opacity: 1;*/
/*}*/

/*#currency .rate-down:before {*/
/*    content: '\2193';*/
/*    color: red;*/
/*    display: inline-block;*/
/*    font-weight: bold;*/
/*}*/

/*#currency .rate-up:before {*/
/*    content: '\2191';*/
/*    color: green;*/
/*    display: inline-block;*/
/*    font-weight: bold;*/
/*}*/
/* ===== Currency Widget - Clean Modern Style ===== */

.currency-header {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.currency-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Строка с курсами */
.currency-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Дата */
.currency-date {
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    min-width: 45px;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;

}

/* Блок валюты - основной стиль */
.currency-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #a6a6a6;
    border-radius: 12px;
}

/* Код валюты */
.currency-code {
    font-weight: 700;
    font-size: 16px;
    color: #a6a6a6;
    letter-spacing: 0.5px;
}

/* Курс */
.currency-rate {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

/* Стрелки тренда */
.currency-trend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 6px;
    margin-left: 2px;
}

.currency-trend.up {
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.25);
}

.currency-trend.down {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
}

/* ===== Адаптив для мобилок ===== */
@media (max-width: 768px) {
    .currency-row {
        gap: 8px;
    }

    .currency-block {
        padding: 6px 10px;
        gap: 6px;
        border-radius: 10px;
    }

    .currency-code {
        font-size: 12px;
    }

    .currency-rate {
        font-size: 13px;
    }

    .currency-date {
        font-size: 12px;
        min-width: 40px;
        padding: 5px 8px;
    }
}

@media (max-width: 480px) {
    .currency-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .currency-block {
        padding: 5px 8px;
        border-radius: 8px;
    }
}
