.xpresscalc-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    max-width: 1120px;
    margin: 40px auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.15; /* Увеличаваме основния размер на шрифта с 15% */
}

.xpresscalc-main-content {
    display: flex;
    gap: 32px;
}

.xpresscalc-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.xpresscalc-field{
    margin-bottom: 24px;
}

.xpresscalc-field label {
    color: #000;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 18px; /* Увеличаваме от 16px на 18px (12.5% увеличение) */
    font-style: normal;
    font-weight: 600;
    line-height: 27px; /* Увеличаваме line-height пропорционално */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Валутен превключвател */
.xpresscalc-currency-switch {
    display: inline-flex;
    background: #fff;
    border-radius: 24px;
    padding: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid #e6e6e6;
    gap: 0;
}

.xpresscalc-currency-switch button {
    border: none;
    background: transparent;
    color: #158a5c;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px; /* Увеличаваме от 14px на 16px (14.3% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* Увеличаваме line-height пропорционално */
    padding: 6px 22px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
}

.xpresscalc-currency-switch button.active {
    background: #0ba36a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.08);
}

.xpresscalc-currency-switch button:not(.active):hover {
    background: #f7f7f7;
}

/* Сума input + range */
.xpresscalc-amount-input-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.xpresscalc-amount-input {
    border: 1px solid #666;
    outline: none;
    font-size: 1.2em;
    font-weight: 600;
    background: transparent;
    width: 100%;
}

.xpresscalc-currency-label {
    margin-left: 8px;
    color: var(--text-tretiary, #57534E);
    text-align: right;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px; /* Увеличаваме от 12px на 14px (16.7% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* Увеличаваме line-height пропорционално */
}

.xpresscalc-amount-range {
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    accent-color: #0AA673 !important;
    height: 12px !important;
    border-radius: 6px !important;
    background: #F5F5F4 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.xpresscalc-amount-range::-webkit-slider-track {
    -webkit-appearance: none;
    appearance: none;
    height: 12px !important;
    background: #F5F5F4 !important;
    border-radius: 6px !important;
    border: none !important;
}

.xpresscalc-amount-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0AA673 !important;
    border: 3px solid #0AA673 !important;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.15);
    cursor: pointer;
    transition: background 0.2s;
}

.xpresscalc-amount-range::-moz-range-track {
    height: 12px !important;
    background: #F5F5F4 !important;
    border-radius: 6px !important;
    border: none !important;
}

.xpresscalc-amount-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0AA673 !important;
    border: 3px solid #0AA673 !important;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.15);
    cursor: pointer;
}

.xpresscalc-amount-range::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0ba36a;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.15);
    cursor: pointer;
}

.xpresscalc-amount-range:focus {
    outline: none;
}

/* Range labels: BGN/EUR под min/max */
.xpresscalc-amount-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-tretiary, #57534E);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px; /* Увеличаваме от 12px на 14px (16.7% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* Увеличаваме line-height пропорционално */
    margin-top: 0;
    width: 100%;
    flex-wrap: wrap;
}

.xpresscalc-amount-labels > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.xpresscalc-amount-labels > div:last-child {
    align-items: flex-end;
}

.xpresscalc-amount-bgn,
.xpresscalc-amount-eur {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.xpresscalc-amount-label-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xpresscalc-currency-label-eur {
    color: #57534E;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px; /* Увеличаваме от 12px на 14px (16.7% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* Увеличаваме line-height пропорционално */
}

.xpresscalc-amount-bgn {
    align-items: flex-start;
}

.xpresscalc-amount-eur {
    align-items: flex-start;
}

.xpresscalc-amount-labels .xpresscalc-min-label-eur,
.xpresscalc-amount-labels .xpresscalc-max-label-eur {
    color: #57534E;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px; /* Увеличаваме от 12px на 14px (16.7% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* Увеличаваме line-height пропорционално */
}

/* Падеж input + range */
.xpresscalc-maturity-input-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.xpresscalc-maturity-input {
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    background: transparent;
    width: 100%;
    text-align: left;
}

.xpresscalc-maturity-label {
    margin-left: 8px;
    color: #000;
    text-align: right;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 18px; /* Увеличаваме от 16px на 18px (12.5% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* Увеличаваме line-height пропорционално */
}

.xpresscalc-maturity-range {
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    accent-color: #0AA673 !important;
    height: 12px !important;
    border-radius: 6px !important;
    background: #F5F5F4 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.xpresscalc-maturity-range::-webkit-slider-track {
    -webkit-appearance: none;
    appearance: none;
    height: 12px !important;
    background: #F5F5F4 !important;
    border-radius: 6px !important;
    border: none !important;
}

.xpresscalc-maturity-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0AA673 !important;
    border: 3px solid #0AA673 !important;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.15);
    cursor: pointer;
    transition: background 0.2s;
}

.xpresscalc-maturity-range::-moz-range-track {
    height: 12px !important;
    background: #F5F5F4 !important;
    border-radius: 6px !important;
    border: none !important;
}

.xpresscalc-maturity-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0AA673 !important;
    border: 3px solid #0AA673 !important;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.15);
    cursor: pointer;
}

.xpresscalc-maturity-range::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0ba36a;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(11, 163, 106, 0.15);
    cursor: pointer;
}

.xpresscalc-maturity-range:focus {
    outline: none;
}

.xpresscalc-maturity-labels {
    display: flex;
    justify-content: space-between;
    color: #57534E;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px; /* Увеличаваме от 12px на 14px (16.7% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* Увеличаваме line-height пропорционално */
    width: 100%;
    margin-top: 0;
}

/* Резултат секция */
.xpresscalc-result {
    flex: 1;
    background: #f8f9fa;
    color: #333;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xpresscalc-result h2 {
    color: #032B1E;
    text-align: center;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 28px; /* Увеличаваме от 24px на 28px (16.7% увеличение) */
    font-style: normal;
    font-weight: 700;
    line-height: 37px; /* Увеличаваме line-height пропорционално */
    letter-spacing: -0.192px;
    margin-bottom: 8px;
}

.xpresscalc-result h3 {
    color: #032B1E;
    text-align: center;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px; /* Увеличаваме от 14px на 16px (14.3% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* Увеличаваме line-height пропорционално */
    margin-bottom: 24px;
}

.xpresscalc-amounts {
    display: flex;
    gap: 48px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.xpresscalc-amount-divider {
    stroke-width: 1px;
    stroke: #E7E5E4;
    flex-shrink: 0;
}

.xpresscalc-amount-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.xpresscalc-amount-value {
    color: #0AA673;
    text-align: center;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 28px; /* Увеличаваме от 24px на 28px (16.7% увеличение) */
    font-style: normal;
    font-weight: 700;
    line-height: 37px; /* Увеличаваме line-height пропорционално */
    letter-spacing: -0.192px;
}

.xpresscalc-amount-currency {
    color: var(--text-tretiary, #57534E);
    text-align: center;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 18px; /* Увеличаваме от 16px на 18px (12.5% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* Увеличаваме line-height пропорционално */
}

.xpresscalc-fee {
    margin-bottom: 24px;
    text-align: center;
    color: #1C1917;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px; /* Увеличаваме от 14px на 16px (14.3% увеличение) */
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* Увеличаваме line-height пропорционално */
}

.xpresscalc-fee b {
    color: #1C1917;
    font-weight: 700;
}

/* Бутон */
.xpresscalc-apply {
    background: #0ba36a;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 16px 32px;
    font-size: 1.25em; /* Увеличаваме от 1.1em на 1.25em (13.6% увеличение) */
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 320px; /* Увеличаваме max-width за да се побира текстът */
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Предотвратяваме прекъсването на текста */
}

.xpresscalc-apply:hover {
    background: #158a5c;
}

/* Disclaimer секция */
.xpresscalc-disclaimers {
    padding: 24px 0px 24px 0px;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 1; /* Запазваме оригиналния размер на шрифта за disclaimers */
}

.xpresscalc-disclaimers p {
    margin-bottom: 16px;
    color: #57534E;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px; /* Запазваме оригиналния размер на шрифта */
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* Запазваме оригиналния line-height */
}

.xpresscalc-disclaimers p:last-child {
    margin-bottom: 0;
}

/* Input text styling */
.xpresscalc-container .xpresscalc-amount-input,
.xpresscalc-container .xpresscalc-maturity-input {
    border: 1px solid #f5f5f4 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    color: #1C1917 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 18px !important; /* Увеличаваме от 16px на 18px (12.5% увеличение) */
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 27px !important; /* Увеличаваме line-height пропорционално */
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.xpresscalc-container .xpresscalc-amount-input:hover,
.xpresscalc-container .xpresscalc-maturity-input:hover {
    border-color: #A9A29D !important;
    background: #FAFAF9 !important;
}

.xpresscalc-container .xpresscalc-amount-input:focus,
.xpresscalc-container .xpresscalc-maturity-input:focus {
    outline: none !important;
    border-color: #A9A29D !important;
    box-shadow: none !important;
    background: #FAFAF9 !important;
    caret-color: #0AA673 !important;
}

/* По-дебел курсор за input полетата */
.xpresscalc-container .xpresscalc-amount-input,
.xpresscalc-container .xpresscalc-maturity-input {
    caret-color: #0AA673 !important;
}

/* Responsive дизайн */
@media (max-width: 768px) {
    .xpresscalc-container {
        padding: 20px;
        gap: 20px;
    }
    
    .xpresscalc-main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .xpresscalc-result {
        padding: 24px;
    }
    
    .xpresscalc-result h2 {
        font-size: 1.75em; /* Увеличаваме пропорционално */
    }
    
    .xpresscalc-amount-value {
        font-size: 2.1em; /* Увеличаваме пропорционално */
    }
    
    .xpresscalc-amounts {
        gap: 16px;
    }
    
    .xpresscalc-disclaimers {
        padding: 16px;
    }
    
    .xpresscalc-disclaimers p {
        font-size: 11px; /* Запазваме оригиналния размер за disclaimers */
        line-height: 16px; /* Запазваме оригиналния line-height */
    }
    
    .xpresscalc-apply {
        font-size: 18px; /* Увеличаваме от 16px на 18px */
        line-height: 27px; /* Увеличаваме пропорционално */
        max-width: 410px;
        white-space: nowrap; /* Предотвратяваме прекъсването на текста */
    }
    
    .xpresscalc-result h2 {
        font-size: 28px; /* Увеличаваме от 24px на 28px */
        line-height: 37px; /* Увеличаваме пропорционално */
    }
}