.cc-converter {
    width: min(100%, 860px);
    margin: 0px auto;
    color: #102a56;
    font-family:"Inter";
    box-sizing: border-box;
}

.cc-dynamic-seo-intro,
.cc-dynamic-seo-block {
    width: min(100%, 860px);
    margin: 0 auto 28px;
    color: #102a56;
    font-family:"Inter";
    box-sizing: border-box;
}

.cc-dynamic-seo-intro h1,
.cc-dynamic-seo-block h2 {
    margin: 0 0 12px;
    color: #082859;
    line-height: 1.15;
}

.cc-dynamic-seo-intro h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
}

.cc-dynamic-seo-block h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
}

.cc-dynamic-seo-intro p,
.cc-dynamic-faq p {
    margin: 0;
    color: #4c5b74;
    font-size: 16px;
    line-height: 1.65;
}

.cc-common-conversions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.cc-common-conversions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px;
    border: 1px solid #d5dee9;
    border-radius: 7px;
    background: #f9fbfe;
    color: #0b2a5b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.cc-common-conversions a:hover,
.cc-common-conversions a:focus-visible {
    border-color: #0b55cf;
    background: #0b55cf;
    color: #ffffff;
    outline: none;
}

.cc-dynamic-faq {
    display: grid;
    gap: 14px;
}

.cc-dynamic-faq h3 {
    margin: 0 0 -6px;
    color: #082859;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.cc-converter,
.cc-converter * {
    box-sizing: border-box;
}

.cc-converter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.cc-currency-panel {
    min-width: 0;
}

.cc-currency-panel label {
    display: block;
    margin: 0 0 14px;
    color: #354766;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.cc-converter input,
.cc-conversion-result,
.cc-converter .select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 68px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(18, 42, 85, 0.05) inset, 0 1px 2px rgba(18, 42, 85, 0.04);
}

.cc-converter input,
.cc-conversion-result {
    display: flex;
    align-items: center;
    margin: 18px 0 22px;
    padding: 16px 20px;
    color: #082859;
    font-family: inherit;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
}

.cc-converter input {
    appearance: textfield;
    outline: none;
}

.cc-converter input::-webkit-outer-spin-button,
.cc-converter input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.cc-converter input:focus,
.cc-converter .select2-container--default.select2-container--focus .select2-selection--single,
.cc-converter .select2-container--default .select2-selection--single:focus {
    border-color: #1f62d4;
    box-shadow: 0 0 0 4px rgba(31, 98, 212, 0.12);
}

.cc-conversion-result {
    background: #fbfcff;
}

.cc-converter .select2-container {
    width: 100% !important;
}

.cc-converter .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 0 18px;
}

.cc-converter .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0 34px 0 0;
    color: #102a56;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.cc-select-option {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.cc-select-copy {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 10px;
}

.cc-select-code {
    color: #0b2a5b;
    font-size: 18px;
    font-weight: 700;
}

.cc-select-name {
    overflow: hidden;
    color: #243a5c;
    font-size: 16px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flag-icon {
    width: 34px;
    height: 24px;
    flex: 0 0 34px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(16, 42, 86, 0.08);
}

.cc-converter .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.select2-results__option {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.select2-results__option--disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.cc-quick-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cc-quick-button {
    min-height: 42px;
    border: 1px solid #d5dee9;
    border-radius: 7px;
    background: #f9fbfe;
    color: #0b2a5b;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cc-quick-button:hover,
.cc-quick-button:focus-visible,
.cc-quick-button.is-active {
    border-color: #0b55cf;
    background: #0b55cf;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(11, 85, 207, 0.22);
    outline: none;
}

.cc-converter button:hover {
    background:#0B55CF;
    color:#fff;
}

.cc-quick-button.is-disabled,
.cc-quick-button:disabled {
    border-color: #e2e8f1;
    background: #f1f4f8;
    color: #9aa8ba;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.72;
}

.cc-swap-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-top: 56px;
    border: 1px solid #dce5f2;
    border-radius: 50%;
    background: #ffffff;
    color: #0b55cf;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(18, 42, 85, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.cc-swap-button:hover,
.cc-swap-button:focus-visible {
    color: #093f9a;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(18, 42, 85, 0.2);
    outline: none;
}

.cc-convert-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 240px);
    min-height: 48px;
    margin: 28px auto 0;
    border: 1px solid #0b55cf;
    border-radius: 7px;
    background: #0b55cf;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(11, 85, 207, 0.22);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cc-convert-button:hover,
.cc-convert-button:focus-visible {
    border-color: #093f9a;
    background: #093f9a;
    box-shadow: 0 16px 28px rgba(11, 85, 207, 0.26);
    transform: translateY(-1px);
    outline: none;
}

.cc-rate-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid #e0e8f2;
}

.cc-rate-label {
    display: block;
    margin-bottom: 12px;
    color: #64728a;
    font-size: 16px;
    font-weight: 700;
}

#cc-rate-line {
    display: block;
    color: #082859;
    font-size: 22px;
    line-height: 1.2;
}

.cc-status {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #4c5b74;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cc-status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #27c865;
    box-shadow: 0 0 0 5px rgba(39, 200, 101, 0.12);
}

@media (max-width: 760px) {
    .cc-converter-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cc-swap-button {
        justify-self: center;
        width: 42px;
        height: 42px;
        margin-top: 0;
        font-size: 22px;
        transform: rotate(90deg);
    }
    .cc-quick-buttons {
        display:none;
    }
    
     .cc-convert-button {
        margin-top: 0px!important;
    }

    .cc-swap-button:hover,
    .cc-swap-button:focus-visible {
        transform: rotate(90deg) translateX(-1px);
    }

    .cc-rate-footer {
        align-items: start;
        flex-direction: column;
        margin-top: 26px;
    }

    .cc-common-conversions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .cc-currency-panel label {
        font-size: 17px;
    }

    .cc-converter input,
    .cc-conversion-result {
        min-height: 60px;
        padding: 14px 16px;
        font-size: 28px;
    }

    .cc-converter .select2-container--default .select2-selection--single {
        min-height: 62px;
        padding: 0 14px;
    }

    .cc-select-copy {
        align-items: start;
        flex-direction: column;
        gap: 2px;
    }

    .cc-select-code {
        font-size: 16px;
    }

    .cc-select-name {
        max-width: 160px;
        font-size: 13px;
    }

    .cc-quick-buttons {
        gap: 10px;
    }

    .cc-quick-button {
        min-height: 38px;
        font-size: 13px;
    }

    .cc-convert-button {
        width: 100%;
        min-height: 46px;
        margin-top: 20px;
    }

    #cc-rate-line {
        font-size: 18px;
    }

    .cc-status {
        white-space: normal;
    }

    .cc-common-conversions {
        grid-template-columns: 1fr;
    }
}

.cc-rate-chart {
    width: min(100%, 480px);
    margin: 0px auto;
    color: #f7fbff;
    font-family:"Inter";
    box-sizing: border-box;
}

.cc-rate-chart,
.cc-rate-chart * {
    box-sizing: border-box;
}

.cc-chart-header {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.cc-chart-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(117, 168, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: #39db72;
    font-size: 15px;
    font-weight: 700;
}

.cc-chart-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}

.cc-chart-pair {
    overflow: hidden;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cc-chart-summary {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 26px 0 20px;
}

.cc-chart-current {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.cc-chart-change {
    color: #b8c5d8;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.cc-chart-change.is-positive {
    color: #30dc73;
}

.cc-chart-change.is-negative {
    color: #ff6978;
}

.cc-chart-stage {
    position: relative;
    min-height: 245px;
}

.cc-chart-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 230px;
}

.cc-chart-grid line {
    stroke: rgba(161, 186, 224, 0.12);
    stroke-dasharray: 2 3;
}

.cc-chart-line {
    fill: none;
    stroke: #ffbd35;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.cc-chart-area {
    pointer-events: none;
}

.cc-chart-hover-line {
    opacity: 0;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-dasharray: 4 5;
    stroke-width: 2;
    transition: opacity 0.16s ease;
}

.cc-chart-hover-dot {
    fill: #ffbd35;
    opacity: 0;
    pointer-events: none;
    stroke: #ffffff;
    stroke-width: 3;
    transition: opacity 0.16s ease;
}

.cc-chart-hover-line.is-visible,
.cc-chart-hover-dot.is-visible {
    opacity: 1;
}

.cc-chart-y-axis text,
.cc-chart-x-axis text {
    fill: #aab9cf;
    font-size: 17px;
    font-weight: 500;
}

.cc-chart-tooltip {
    position: absolute;
    z-index: 2;
    min-width: 92px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: rgba(4, 20, 49, 0.92);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(-50%, -100%);
    transition: opacity 0.16s ease;
}

.cc-chart-tooltip.is-visible {
    opacity: 1;
}

.cc-chart-tooltip strong,
.cc-chart-tooltip span {
    display: block;
}

.cc-chart-tooltip strong {
    font-size: 14px;
    line-height: 1.2;
}

.cc-chart-tooltip span {
    margin-top: 3px;
    color: #b9c7da;
    font-size: 12px;
    line-height: 1.2;
}

.cc-chart-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    background: rgba(6, 27, 66, 0.82);
    color: #c9d6eb;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.cc-chart-message:empty {
    display: none;
}

.cc-chart-ranges {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.cc-chart-range-button {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #e8effb;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cc-chart-range-button:hover,
.cc-chart-range-button:focus-visible,
.cc-chart-range-button.is-active {
    border-color: rgba(255, 189, 53, 0.65);
    background: #ffbd35;
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(255, 189, 53, 0.24);
    outline: none;
}

@media (max-width: 520px) {

    .cc-chart-header {
        gap: 12px;
    }

    .cc-chart-status {
        min-height: 30px;
        padding: 0 10px;
        font-size: 13px;
    }

    .cc-chart-pair {
        font-size: 16px;
    }

    .cc-chart-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin: 22px 0 16px;
    }

    .cc-chart-current {
        font-size: 30px;
    }

    .cc-chart-change {
        white-space: normal;
    }

    .cc-chart-stage {
        min-height: 210px;
    }

    .cc-chart-svg {
        min-height: 200px;
    }

    .cc-chart-y-axis text,
    .cc-chart-x-axis text {
        font-size: 15px;
    }

    .cc-chart-ranges {
        gap: 8px;
    }

    .cc-chart-range-button {
        min-height: 38px;
        font-size: 13px;
    }
}
