/* Fee Calculator Page Styles */

.fee-calculator-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 20px 60px;
}

.fee-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.calculator-header .subtitle {
    font-size: 1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Grid */
.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Form Card */
.form-card, .results-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover, .results-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f7941d;
}

/* Modern Form Inputs */
.form-group-modern {
    margin-bottom: 25px;
}

.form-group-modern label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.form-control-modern {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-control-modern:focus {
    outline: none;
    border-color: #f7941d;
    background: white;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.form-control-modern:hover {
    border-color: #cbd5e0;
}

/* Input with prefix */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    pointer-events: none;
}

.input-with-prefix .form-control-modern {
    padding-left: 35px;
}

/* Results Card */
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item.highlight {
    background: #fef5e7;
    padding: 15px;
    margin: 5px -15px;
    border-radius: 8px;
    border-bottom: none;
}

.result-item.total {
    background: #fff3e0;
    padding: 15px;
    margin: 5px -15px;
    border-radius: 8px;
    font-weight: 600;
    border-bottom: none;
}

.result-item.major {
    padding: 20px;
    margin: 10px -15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: none;
}

.result-label {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
}

.result-value.primary {
    color: #3182ce;
    font-size: 1.5rem;
}

.result-value.success {
    color: #38a169;
    font-size: 1.5rem;
}

.result-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 15px 0;
}

/* Explanation Section */
.explanation-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.explanation-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f7941d 0%, #ff6b35 100%);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.explanation-header:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7941d 100%);
}

.explanation-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.explanation-header i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.explanation-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.explanation-content {
    padding: 30px;
}

.explanation-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.calculation-steps {
    padding-left: 25px;
    line-height: 1.8;
}

.calculation-steps li {
    margin-bottom: 20px;
    color: #4a5568;
}

.calculation-steps strong {
    color: #2d3748;
}

.calculation-steps .ticket-price,
.calculation-steps .service-fee,
.calculation-steps .processing-fee,
.calculation-steps .buyer-total,
.calculation-steps .host-receives {
    color: #f7941d;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .calculator-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fee-calculator-wrapper {
        padding: 100px 15px 40px;
    }

    .calculator-header h1 {
        font-size: 2rem;
    }

    .calculator-header .subtitle {
        font-size: 0.95rem;
    }

    .form-card, .results-card {
        padding: 20px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .result-value {
        font-size: 1.1rem;
    }

    .result-value.primary,
    .result-value.success {
        font-size: 1.3rem;
    }

    .explanation-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .calculator-header h1 {
        font-size: 1.75rem;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .result-value {
        font-size: 1.3rem;
    }
}
