/* Calculator Section Styles - Modern 2025 Design */
.calculator-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    position: relative;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .calculator-section {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left Panel: Map & City Selection */
.calculator-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-container {
    background: var(--bg-secondary);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    min-height: 320px;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .map-container {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 320px;
    color: var(--text-secondary);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.map-placeholder .icon--large {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    opacity: 0.7;
}

.city-selection {
    background: var(--bg-secondary);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .city-selection {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.office-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.office-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.office-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Right Panel: Calculator */
.calculator-right {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

[data-theme="dark"] .calculator-right {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.calculator-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Toggle Buttons - Modern Glass Design */
.toggle-group {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 1rem;
    padding: 0.3rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .toggle-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-group--small {
    margin-bottom: 0;
    max-width: 200px;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}


.toggle-btn--active {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

[data-theme="dark"] .toggle-btn--active {
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
}

.toggle-btn:hover:not(.toggle-btn--active) {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    transform: translateY(-1px);
}

/* Currency Toggle */
.currency-toggle {
    margin-bottom: 1.5rem;
}

.currency-toggle .form-label {
    margin-bottom: 0.5rem;
}

/* Amount Inputs - Fixed Heights */
.amount-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.amount-group {
    display: flex;
    flex-direction: column;
}

.input-with-select {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.amount-input {
    flex: 2;
    min-width: 0;
    height: 3rem; /* Fixed height */
    font-size: 1rem;
    font-weight: 600;
}

.currency-select {
    flex: 1;
    min-width: 120px;
    height: 3rem; /* Fixed height */
    font-weight: 600;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
    appearance: none;
}

/* Exchange Rate - Modern Design */
.exchange-rate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

/* Contact Form - Modern Submit Block */
.contact-form {
    margin-top: 1.5rem;
}

.submit-block {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .submit-block {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(29, 78, 216, 0.2);
}

.submit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.submit-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.method-btn {
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.method-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transition: opacity 0.3s ease;
    opacity: 0;
}

.method-btn:hover::before {
    opacity: 1;
}

.method-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.method-btn--telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.method-btn--whatsapp {
    background: linear-gradient(135deg, #25d366, #1da851);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.method-btn--phone {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.method-btn--callback {
    background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
    color: white;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.method-btn:active {
    transform: translateY(0);
}

/* Exchange Info */
.exchange-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.exchange-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Swap Button */
.exchange-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
    width: 100%;
}

.swap-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swap-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.swap-btn:active {
    transform: rotate(180deg) scale(0.95);
}

[data-theme="dark"] .swap-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .swap-btn:hover {
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}
.form-input, .form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calculator-right {
        order: -1;
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 1.5rem 0;
    }

    .calculator-right {
        padding: 1.5rem;
    }

    .calculator-title {
        font-size: 1.25rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .input-with-select {
        flex-direction: column;
        gap: 0.5rem;
    }

    .amount-input,
    .currency-select {
        flex: none;
        height: 3rem;
    }

    .toggle-group--small {
        max-width: none;
    }

    .method-btn {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .method-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .method-btn {
        font-size: 0.75rem;
        padding: 0.6rem 0.5rem;
        flex-direction: column;
    }

    .method-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .map-placeholder {
        height: 200px;
    }

    .map-placeholder .icon--large {
        width: 3rem;
        height: 3rem;
    }
}

.office-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.working-hours-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(16, 185, 129, 0.03));
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .working-hours-card {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.05), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(29, 78, 216, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-header .icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary-light);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

[data-theme="dark"] .hours-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.days {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
}

.office-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .office-note {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.office-note .icon {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }

    .hours-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 0.375rem 0.5rem;
    }

    .days {
        font-size: 0.75rem;
    }

    .time {
        font-size: 0.8rem;
    }

    .office-note {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
}