

/* Start:/local/templates/ipotekatmpl/components/astatroth/currency.informer.page/currency-page/style.css?178522915013304*/
main:has(.convert-block) {
    padding-top: 0;
}

.section.popular-summ {
    padding: 2rem 0;
}

.convert-block {
    padding: 1.5rem;
    border-radius: var(--radius-24);
    background-color: var(--container-high);
}

.convert-main {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.convert-main .convert-main__foreign {
    font-family: var(--hero-font-family);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.convert-main .convert-main__local {
    font-family: var(--hero-font-family);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
}

.convert-main .convert-main__local span {
    font: inherit;
    line-height: inherit;
    color: rgba(1, 1, 1, .5);
}

.convert-main .convert-main__dynamic {
    color: var(--on-surface-variant);
    font-size: 1rem;
    line-height: 1.5;
}

.convert-main .convert-main__dynamic.convert-main__dynamic--success {
    color: var(--primary);
}

.convert-main .convert-main__dynamic.convert-main__dynamic--error {
    color: var(--error);
}



.convert-main .convert-main__dynamic>* {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.update-time {
    display: inline-flex;
    gap: .5rem;
    font-size: .875rem;
    line-height: 1.28;
    color: var(--on-surface-variant);
    align-items: center;
    margin-top: .25rem;
}

.update-time.update-time--desktop {
    display: none;
}

.update-time.update-time--mobile {
    margin-top: 0;
    gap: .25rem;
    font-size: .75rem;
    line-height: 1.33;
}

.update-time.update-time--mobile svg {
    width: 12px;
    height: 12px;
}

.popular-conversies {
    max-width: 1024px;
    margin: 0 auto;
}

.conversion-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.conversion-table__header {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.conversion__currency {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.conversion__currency img {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-999);
    overflow: hidden;
    object-fit: cover;
}

.conversion__currency span {
    font-size: 1rem;
    line-height: 1.5;
    display: block;
}

.conversion-list {
    display: flex;
    flex-direction: column;
    background-color: var(--container-high);
    border-radius: var(--radius-16);
    overflow: hidden;
}

.conversion-list .conversion-list__item:nth-child(even) {
    background-color: var(--container);
}

.conversion-item {
    display: flex;
    justify-content: space-between;
    padding: .75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--on-surface);
    text-decoration: none;
}

.conversion-item>div {
    font: inherit;
    text-decoration: underline;
}

.conversion-item .conversion-item__convert {
    color: var(--on-surface-variant);
    text-decoration: none;
}

.other-currencies-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button.button--curr {
    height: auto;
    padding: .5rem;
    font-size: 1rem;
    line-height: 1.5;
    background-color: var(--container-high);
    border-radius: var(--radius-16);
    align-items: center;
    gap: .5rem;
    font-weight: 400;
}

.button.button--curr img {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-999);
    object-fit: cover;
}

.button.button--curr span {
    font: inherit;
    line-height: inherit;
}

.graph-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-24);
    background-color: var(--container-high);
}

.graph-block .graph-block__header {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.graph-block .graph-block__title {
    font-size: 1.375rem;
    line-height: 1.1;
    font-family: var(--hero-font-family);
    font-weight: 600;
    margin: 0;
}

.graph-block .graph-block__today {
    font-size: .875rem;
    line-height: 1.28;
    color: var(--on-surface-variant);
}

.history_container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--container-higher);
    border-radius: var(--radius-24);
}

/* CONVERTER */
.converter-calc-wrapper {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem .5rem 1rem;
    background-color: var(--container-higher);
    border-radius: var(--radius-16);
}

.convert-calc {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.convert-calc__box {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    background: var(--container-high);
    border-radius: 1rem;
    padding: .75rem;
}

.convert-calc__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5rem;
}

.convert-calc__input:focus {
    outline: none;
}

.convert-calc__input[readonly] {
    pointer-events: none;
}

.convert-calc__currency {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.convert-calc__flag {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-999);
    object-fit: cover;
}

.convert-calc__code {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5rem;
}

.convert-calc__swap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    opacity: .4;
}

.convert-calc__rate {
    margin-top: .5rem;
    text-align: right;
    font-size: 0.875rem;
    line-height: 1.28;
    color: var(--on-surface-variant);
}

.convert-calc__rate span {
    font: inherit;
    color: inherit;
    line-height: inherit;
}


/* FAQ */
.accordion-section {
    padding: 1.5rem 0;
}

.accordion-section .deposit-faq__title {
    margin: 0;
    text-align: center;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 600;
    font-family: var(--hero-font-family);
    margin-bottom: 1.5rem;
}

.accordion-section .accordion-button {
    padding: 1.5rem 1.5rem 1rem;
    font-family: var(--hero-font-family);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.accordion-section .accordion-button.collapsed {
    padding: 1.5rem;
}

.accordion-section .accordion-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.37;
}

/* CHART */
.history_chart_wrap {
    position: relative;
}

.chart-state {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: #fff;
}

.history_chart_wrap.is-loading #priceChart,
.history_chart_wrap.is-error #priceChart {
    visibility: hidden;
}

.history_chart_wrap.is-loading .chart-state--loading,
.history_chart_wrap.is-error .chart-state--error {
    display: flex;
}

.chart-state__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #efefef;
    border-top-color: #57a83c;
    border-radius: 50%;
    animation: chart-state-spin 0.8s linear infinite;
}

.chart-state__text {
    color: #8a8a8e;
    font-size: 14px;
}

.chart-state--error .chart-state__text {
    color: #c0392b;
}

@keyframes chart-state-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ------------------------------------------------------------------ */
/* Term buttons                                                        */
/* ------------------------------------------------------------------ */

.terms {
    display: flex;
    gap: .5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.terms::-webkit-scrollbar {
    display: none;
}

.terms .term {
    flex: 0 0 auto;
    cursor: pointer;
    user-select: none;
    font-size: .875rem;
    line-height: 1.28;
    color: #535963;
    background: var(--container-high);
    border-radius: var(--radius-999);
    padding: .5rem .875rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.terms .term:hover {
    background: var(--container);
}

.terms .term.active {
    background: var(--surface-inverse);
    color: var(--on-surface-inverse);
}

/* ------------------------------------------------------------------ */
/* Mobile info block (date + price above the chart)                    */
/* ------------------------------------------------------------------ */

.history_info__date {
    font-size: .875rem;
    line-height: 1.28;
    color: var(--on-surface-variant);
    margin-bottom: 2px;
}

.history_info__price {
    font-size: .875rem;
    line-height: 1.28;
}

/* ------------------------------------------------------------------ */
/* Chart area                                                          */
/* ------------------------------------------------------------------ */

.history_chart_wrap {
    position: relative;
    height: 420px;
}

/* ------------------------------------------------------------------ */
/* Floating tooltip (desktop)                                          */
/* ------------------------------------------------------------------ */



.chart-tooltip {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    background: var(--container-higher);
    border-radius: 12px;
    padding: .5rem .75rem;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.10);
    opacity: 0;
    transition: opacity 0.1s ease;
    white-space: nowrap;
    z-index: 2;
}

.chart-tooltip.is-visible {
    opacity: 1;
}

.chart-tooltip__date {
    font-size: .875rem;
    line-height: 1.28;
    color: var(--on-surface-variant);
    margin-bottom: 2px;
}

.chart-tooltip__price {
    font-size: 16px;
    line-height: 1.28;
}

/* ------------------------------------------------------------------ */
/* Mobile                                                              */
/* ------------------------------------------------------------------ */

@media (min-width: 768px) {

    .main-section.section,
    .section.graph-section,
    .popular-summ.section,
    .section.other-currencies-section {
        padding: 2rem 0;
    }

    .main-section.section {
        padding-bottom: 0;
    }

    .convert-block {
        padding: 2.5rem;
        border-radius: var(--radius-32);
    }

    .convert-main {
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    .convert-main .convert-main__foreign {
        font-size: 1.5rem;
        line-height: 1.17;
    }

    .convert-main .convert-main__local {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .convert-main .convert-main__local span {
        font-size: 1.875rem;
        line-height: 1.2;
        color: rgba(1, 1, 1, .5);
    }

    .update-time.update-time--desktop {
        display: inline-flex;
    }

    .col-md-6:has(.update-time.update-time--mobile) {
        display: none;
    }


    .graph-block {
        padding: 2.5rem;
        border-radius: var(--radius-32);
        gap: 1.5rem;
    }

    .graph-block .graph-block__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .graph-block .graph-block__title {
        font-size: 1.875rem;
        line-height: 1.2;
    }

    .graph-block .graph-block__today {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .history_container {
        padding: 2rem;
    }

    .history_chart_wrap {
        height: 480px;
    }

    .chart-tooltip {
        display: block;
    }

    .history_info {
        display: none;
    }

    /* CONVERTER */

    .convert-calculator {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .converter-calc-wrapper {
        padding: 1.5rem 1.5rem .75rem 1.5rem;
        border-radius: var(--radius-24);
        width: 100%;
    }

    .convert-calc {
        flex-direction: row;
        gap: .75rem;
    }

    /* FAQ */
    .accordion-section {
        padding: 4rem 0;
    }

    .accordion-section .deposit-faq__title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }

    .accordion-section .accordion-button {
        padding: 2rem 2rem 1rem;
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .accordion-section .accordion-button.collapsed {
        padding: 2rem;
    }

    .accordion-section .accordion-body {
        padding: 0 2rem 2rem;
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
}
/* End */
/* /local/templates/ipotekatmpl/components/astatroth/currency.informer.page/currency-page/style.css?178522915013304 */
