/* IBAN Doğrulama — Page-Specific Styles */

/* IBAN Section */
.iban-section {
    background: #fff;
}

/* IBAN Card */
.iban-card {
    background: #fff;
    border: 1px solid #E4EBF0;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    overflow: hidden;
}

/* Disclaimer Banner */
.iban-disclaimer-top {
    background: #FFF9E6;
    border: 1px solid #F0C800;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #212529;
    line-height: 1.5;
}
.iban-disclaimer-top i {
    color: #C8A000;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* IBAN Title */
.iban-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
}

/* Input Groups */
.iban-input-group .form-label {
    font-weight: 600;
    color: #212529;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}
.iban-input-group .form-text {
    font-size: 0.8125rem;
    color: #6C757D;
    margin-top: 0.375rem;
}
.iban-input-group .form-control {
    border: 2px solid #E4EBF0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    letter-spacing: 0.5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.iban-input-group .form-control:focus {
    border-color: #004a99;
    box-shadow: 0 0 0 0.2rem rgba(0, 74, 153, 0.1);
}
.iban-input-group .form-control.is-invalid {
    border-color: #E74C3C;
}

/* Validate Button */
.btn-validate {
    background: #00bfa5;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.btn-validate:hover {
    background: #009d87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.3);
}
.btn-validate:active {
    transform: translateY(0);
}
.btn-validate i {
    font-size: 1.1rem;
}

/* Results Panel */
.iban-results {
    background: #F8F9FA;
    border-radius: 0.75rem;
    padding: 2rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Empty State */
.results-empty {
    text-align: center;
    color: #6C757D;
}
.results-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.4;
}
.results-empty p {
    margin: 0;
    font-size: 1rem;
}

/* Filled State */
.results-filled {
    width: 100%;
}

/* Result Status Header */
.result-status-header {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}
.result-status-header i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
.result-status-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Valid Result */
.result-valid .result-status-header {
    background: #f0fdf4;
    border: 2px solid #28a745;
}
.result-status-valid i {
    color: #28a745;
}
.result-status-valid h3 {
    color: #28a745;
}

/* Invalid Result */
.result-invalid .result-status-header {
    background: #fef2f2;
    border: 2px solid #dc3545;
}
.result-status-invalid i {
    color: #dc3545;
}
.result-status-invalid h3 {
    color: #dc3545;
}

/* Valid Badge */
.badge-valid {
    color: #28a745;
    font-weight: 700;
}

/* Error Message */
.result-error-message {
    background: #fff;
    border: 1px solid #E4EBF0;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.result-error-message p {
    margin: 0;
    color: #dc3545;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Breakdown */
.result-breakdown {
    border-top: 1px solid #E4EBF0;
    padding-top: 1rem;
    margin-top: 1rem;
}
.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid #E4EBF0;
    font-size: 0.9375rem;
}
.breakdown-item:last-child {
    border-bottom: none;
}
.breakdown-item span {
    color: #6C757D;
}
.breakdown-item strong {
    color: #212529;
    word-break: break-all;
}

/* Result Disclaimer */
.result-disclaimer {
    background: #FFF9E6;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.result-disclaimer i {
    color: #C8A000;
    flex-shrink: 0;
    margin-top: 2px;
}
.result-disclaimer small {
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.5;
}

/* Result CTA */
.result-cta {
    margin-top: 1.5rem;
    text-align: center;
}
.result-cta p {
    font-size: 0.9375rem;
    color: #212529;
}
.result-cta .btn-primary {
    background: #00bfa5;
    border-color: #00bfa5;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.result-cta .btn-primary:hover {
    background: #009d87;
    border-color: #009d87;
    transform: translateY(-1px);
}

/* Animation */
.results-animate {
    animation: resultsFadeIn 0.4s ease-out;
}
@keyframes resultsFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Education Section */
.education-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Page Disclaimer */
.page-disclaimer {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8125rem;
    color: #6C757D;
    line-height: 1.6;
}
.page-disclaimer i {
    margin-right: 4px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991.98px) {
    .iban-card {
        padding: 1.25rem;
    }
    .iban-results {
        min-height: auto;
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    .result-status-header i {
        font-size: 2rem;
    }
    .result-status-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .iban-disclaimer-top {
        font-size: 0.8125rem;
        padding: 0.625rem 0.75rem;
    }
    .breakdown-item {
        font-size: 0.875rem;
    }
    .iban-input-group .form-control {
        font-size: 0.9375rem;
        letter-spacing: 0;
    }
}
