﻿
/* =========================================================
           BREADCRUMB
        ========================================================= */

.breadcrumb {
    padding: 15px 0 15px;
    font-size: 13px;
    color: #7c8798;
}

    .breadcrumb a {
        color: #687386;
    }

    .breadcrumb span {
        margin: 0 8px;
        color: #b4bbc6;
    }


/* =========================================================
           CURRENCY HERO
        ========================================================= */

.currency-hero {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0;
    margin-bottom: 17px;
}

.currency-introduction {
    min-height: 245px;
    border: 1px solid #e5eaf1;
    border-radius: 15px 0 0 15px;
    padding: 27px 28px;
    background: #ffffff;
}

.currency-image {
    min-height: 245px;
    border-radius: 0 15px 15px 0;
    overflow: hidden;
    
}

.currency-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
}


    .currency-flag-large .flag {
        font-size: 25px
    }

        .currency-flag-large .flag img {
            width: 62px;
            border-radius: 50px;
            border: 1px solid var(--line);
        }
.currency-title h1 {
    font-size: 25px;
    line-height: 1.2;
    color: #142033;
    margin-bottom: 4px;
    margin-top:0;
}

.currency-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #eaf3ff;
    color: #2478ed;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 4px;
}

.currency-native-name {
    color: #657185;
    font-size: 13px;
}

.currency-description {
    color: #667085;
    font-size: 12px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 17px;
}


/* =========================================================
           SPECIFICATIONS
        ========================================================= */

.currency-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.spec-box {
    border: 1px solid #e9edf3;
    border-radius: 8px;
    padding: 10px 11px;
    background: #ffffff;
}

.spec-label {
    display: block;
    font-size: 9px;
    color: #727d8e;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 12px;
    color: #172033;
    font-weight: 700;
}


/* =========================================================
           QUICK INFORMATION
        ========================================================= */

.quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-icon {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #eef6ff;
    color: #2478ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.quick-label {
    display: block;
    font-size: 9px;
    color: #7b8494;
}

.quick-value {
    display: block;
    font-size: 10px;
    color: #344054;
    font-weight: 650;
    margin-top: 1px;
}


/* =========================================================
           RATE SECTION
        ========================================================= */

.rate-layout {
    display: grid;
    grid-template-columns: 1.45fr .95fr;
    gap: 17px;
    margin-bottom: 18px;
}

.rate-card {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    background: #ffffff;
    overflow: hidden;
}

.card-header {
    min-height: 57px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f4;
}

    .card-header h2 {
        font-size: clamp(18px,4vw,24px);
        color: #172033;
    }

.card-header-link {
    color: #2478ed;
    font-size: 12px;
    font-weight: 650;
}


/* =========================================================
           RATE TABLE
        ========================================================= */

.rate-table-head,
.rate-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr .9fr .9fr .8fr 24px;
    align-items: center;
}

.rate-table-head {
    min-height: 36px;
    padding: 0 15px;
    background: #f8fafc;
    color: #778295;
    font-size: 9px;
    font-weight: 700;
}

.rate-row {
    min-height: 48px;
    padding: 0 15px;
    border-bottom: 1px solid #f0f2f5;
}

    .rate-row:last-child {
        border-bottom: 0;
    }

    .rate-row:hover {
        background: #fbfdff;
    }

.pair-name {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pair-code {
    font-size: 10px;
    font-weight: 700;
    color: #253047;
}

.rate-value {
    font-size: 10px;
    font-weight: 700;
    color: #273248;
}

.change-up {
    color: #12a66a;
    font-size: 10px;
    font-weight: 650;
}

.change-down {
    color: #e5484d;
    font-size: 10px;
    font-weight: 650;
}

.updated {
    font-size: 8px;
    line-height: 1.4;
    color: #7c8798;
}

.row-arrow {
    color: #2478ed;
    font-size: 15px;
    text-align: right;
}


/* =========================================================
           QUICK CONVERTER
        ========================================================= */

.converter-card {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    background: linear-gradient(135deg, #f7fbff, #ffffff);
    padding: 20px;
}

    .converter-card h2 {
        font-size: clamp(18px,4vw,24px);
        margin-bottom: 5px;
    }

.converter-subtitle {
    color: #7a8495;
    font-size: 10px;
    margin-bottom: 17px;
}

.field-label {
    display: block;
    font-size: 9px;
    color: #667085;
    margin-bottom: 6px;
    font-weight: 650;
}

.converter-field {
    height: 48px;
    border: 1px solid #e0e6ef;
    border-radius: 9px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 11px;
    margin-bottom: 13px;
}

    .converter-field input {
        border: 0;
        outline: 0;
        min-width: 0;
        flex: 1;
        font-size: 17px;
        font-weight: 650;
        color: #172033;
    }

.currency-select {
    border-left: 1px solid #edf0f4;
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
}

.mini-flag {
    font-size: 18px;
}

.converter-rate {
    text-align: center;
    font-size: 9px;
    color: #657185;
    margin: 1px 0 14px;
}

.convert-button {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #2478ed;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.converter-link {
    display: block;
    text-align: center;
    color: #2478ed;
    font-size: 12px;
    font-weight: 650;
    margin-top: 12px;
}


/* =========================================================
           HISTORY
        ========================================================= */

.history-layout {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 17px;
    margin-bottom: 18px;
}

.chart-card {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    padding: 18px;
    background: #ffffff;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 13px;
}

    .chart-header h2 {
        font-size: clamp(18px,4vw,24px);
    }

.period-buttons {
    display: flex;
    gap: 5px;
}

.period-button {
    border: 1px solid #e5eaf1;
    background: #ffffff;
    border-radius: 7px;
    padding: 5px 8px;
    color: #657185;
    font-size: 8px;
    cursor: pointer;
}

    .period-button.active {
        color: #2478ed;
        border-color: #bcd5fa;
        background: #f3f8ff;
    }

.chart {
    height: 220px;
    position: relative;
    border-bottom: 1px solid #dfe5ed;
    background: repeating-linear-gradient( to bottom, transparent 0, transparent 43px, #edf1f5 44px );
}

    .chart svg {
        width: 100%;
        height: 100%;
    }

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #8993a3;
    font-size: 8px;
}

.chart-note {
    margin-top: 12px;
    font-size: 11px;
    color: #7d8797;
}


/* =========================================================
           STATISTICS
        ========================================================= */

.statistics-card {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    padding: 20px;
    background: #ffffff;
}

    .statistics-card h2 {
        font-size: clamp(18px,4vw,24px);
        margin-bottom: 15px;
    }

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f0f2f5;
}

    .stat-row:last-child {
        border-bottom: 0;
    }

.stat-label {
    font-size: 10px;
    color: #727d8e;
}

.stat-value {
    font-size: 10px;
    font-weight: 700;
    color: #273248;
}

.stat-green {
    color: #12a66a;
}

.stat-red {
    color: #e5484d;
}


/* =========================================================
           INFORMATION + RELATED PAIRS
        ========================================================= */

.information-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 17px;
    margin-bottom: 18px;
}

.information-card,
.related-card {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    background: #ffffff;
    padding: 20px;
}

    .information-card h2,
    .related-card h2 {
        font-size: clamp(18px,4vw,24px);
        margin-bottom: 16px;
    }

.content-block {
    margin-bottom: 15px;
}

    .content-block:last-child {
        margin-bottom: 0;
    }

.content-title {
    font-size: 11px;
    font-weight: 700;
    color: #273248;
    margin-bottom: 4px;
}

.content-text {
    color: #717d8e;
    font-size: 10px;
    line-height: 1.7;
}

.content-list {
    padding-left: 16px;
    color: #717d8e;
    font-size: 10px;
    line-height: 1.8;
}

.pairs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.related-pair {
    border: 1px solid #e7ebf1;
    border-radius: 10px;
    padding: 12px;
    transition: .2s;
}

    .related-pair:hover {
        border-color: #c9dcfa;
        box-shadow: 0 5px 15px rgba(38, 102, 180, .06);
    }

.related-pair-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-pair-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
}

.related-arrow {
    color: #2478ed;
    font-size: 13px;
}

.related-description {
    margin-top: 5px;
    color: #575f6b;
    font-size: 12px;
}

.view-all {
    display: inline-block;
    margin-top: 15px;
    color: #2478ed;
    font-size: 14px;
    font-weight: 650;
}


/* =========================================================
           KNOWLEDGE
        ========================================================= */

.knowledge-section {
    margin-bottom: 18px;
}

.knowledge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

    .knowledge-header h2 {
        font-size: clamp(18px,4vw,24px);
    }

    .knowledge-header a {
        color: #2478ed;
        font-size: 12px;
        font-weight: 650;
    }

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.article-card {
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.article-image {
    height: 100px;
    background-position: center;
    background-size: cover;
}
.article-content {
    padding: 12px;
}

.article-title {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
    color: #253047;
}

.article-description {
    margin-top: 5px;
    font-size: 8px;
    line-height: 1.5;
    color: #7d8797;
}

.article-time {
    margin-top: 8px;
    font-size: 8px;
    color: #929baa;
}


/* =========================================================
           SOURCE
        ========================================================= */

.source-card {
    border: 1px solid #dce9fb;
    border-radius: 13px;
    padding: 17px 20px;
    background: #f7fbff;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 17px;
}

.source-intro {
    display: flex;
    gap: 10px;
    align-items: center;
}

.source-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #eaf3ff;
    color: #2478ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.source-title {
    font-size: 14px;
    font-weight: 700;
    color: #273248;
}

.source-description {
    font-size: 12px;
    color: #7c8798;
    margin-top: 2px;
}

.source-item-label {
    display: block;
    font-size: 14px;
    color: #7c8798;
    margin-bottom: 2px;
}

.source-item-value {
    font-size: 12px;
    font-weight: 700;
    color: #344054;
}

/* =========================================================
           RESPONSIVE
        ========================================================= */

@media(max-width: 950px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .currency-hero {
        grid-template-columns: 1fr;
    }

    .currency-introduction {
        border-radius: 15px 15px 0 0;
    }

    .currency-image {
        min-height: 220px;
        border-radius: 0 0 15px 15px;
    }

    .rate-layout,
    .history-layout {
        grid-template-columns: 1fr;
    }

    .information-layout {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* =========================================================
           DISCLAIMER
        ========================================================= */

.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 20px;
    border: 1px solid #f2df9f;
    background: #fffaf0;
    border-radius: 13px;
    margin-bottom: 0;
}

.warning-icon {
    font-size: 23px;
    color: #e4a500;
}

.disclaimer-title {
    font-size: 10px;
    font-weight: 700;
    color: #5f4b16;
    margin-bottom: 3px;
}

.disclaimer-text {
    font-size: 8px;
    line-height: 1.6;
    color: #7f6d3c;
}


@media(max-width: 650px) {

    .container {
        width: calc(100% - 28px);
    }

    .site-header,
    .header-inner {
        height: 64px;
    }

    .logo {
        min-width: auto;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 6px;
    }

    .theme-button {
        display: none;
    }

    .breadcrumb {
        padding-top: 19px;
    }

    .currency-introduction {
        padding: 22px 18px;
    }

    .currency-title h1 {
        font-size: 21px;
    }

    .currency-flag-large {
        width: 54px;
        height: 54px;
        font-size: 31px;
    }

    .currency-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .rate-table {
        overflow-x: auto;
    }

    .rate-table-head,
    .rate-row {
        min-width: 650px;
    }

    .chart-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .chart {
        height: 180px;
    }

    .pairs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-image {
        height: 90px;
    }

    .source-card {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 11px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        justify-content: center;
    }
}
.small-flag .flag {
    font-size: 25px
}

    .small-flag .flag img {
        width: 30px;
        border-radius: 50px;
        border: 1px solid var(--line);
    }

label {
    font-size: 13px;
    font-weight: 800;
    color: #334155
}

.field {
    margin-top: 7px;
    border: 1px solid #dce5f1;
    border-radius: 14px;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #fff
}

    .field input, .field select {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--text);
        font-weight: 800
    }

    .field input {
        font-size: 27px
    }

.form-grid {
    display: grid;
    gap: 14px;
    margin-top:15px;

}

.currency-row {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 12px;
    align-items: end
}

.swap {
    height: 56px;
    border-radius: 16px;
    border: 1px solid #dce5f1;
    background: var(--soft);
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 15px 18px;
    background: linear-gradient(135deg,var(--primary),var(--primary-2));
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(37,99,235,.22)
}

.result {
    margin-top: 16px;
    padding: 22px;
    background: linear-gradient(135deg,#f5f9ff,#eef5ff);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    text-align: center;
    display:none;
}
    .result.active {
        display: block;
    }

    .result small {
        display: block;
        color: var(--muted);
        font-weight: 800
    }

    .result strong {
        display: block;
        color: var(--primary);
        font-size: clamp(20px, 4vw, 28px);
        margin: 4px 0 8px;
    }
#SelectCurencyPair {
    border:none;
}