*,
*::before,
*::after {
    box-sizing: border-box;
}

body.od-self-enrolment-page {
    background: #f8f9fa;
    font-family: system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.od-form-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
    flex: 1;
}

.od-app-header {
    background: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(56, 65, 74, .15);
}

.od-header-brand-logo {
    height: 40px;
    width: 160px;
    object-fit: contain;
}

.od-section-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.od-section-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.od-badge-auto {
    background: #cfe2ff;
    color: #084298;
    font-size: 10px;
    font-weight: 500;
    border-radius: 20px;
    padding: 2px 8px;
}

.od-badge-admin {
    background: #e9ecef;
    color: #6c757d;
    font-size: 10px;
    font-weight: 500;
    border-radius: 20px;
    padding: 2px 8px;
}

.od-badge-cond {
    background: #f8d7da;
    color: #842029;
    font-size: 10px;
    font-weight: 500;
    border-radius: 20px;
    padding: 2px 8px;
}

.od-form-label {
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.od-req-star {
    color: #dc3545;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

.od-self-enrolment-page .form-control:disabled,
.od-self-enrolment-page .form-control[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
}

.od-footer {
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 10px 20px;
    color: #6c757d;
    width: 100%;
    font-size: 14px;
    flex-shrink: 0;
}

.od-btn-submit {
    background: #0ab39c;
    border-color: #0ab39c;
    padding: 0.45rem 1rem;
    font-size: 14px;
    color: #fff;
}

.od-btn-submit:hover {
    background: #099885;
    border-color: #099885;
    color: #fff;
}

.od-field-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: 2px;
}

.od-field-muted {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

/* Form placeholders: reuse add-customer-kyc.css (.add-customer-kyc .form-control::placeholder). */

/* Empty native file inputs — aligned with add-customer-kyc .kyc-split-file__name::placeholder */
.od-self-enrolment-page #odPanUpload,
.od-self-enrolment-page #odBankProof,
.od-self-enrolment-page #odAddressProofUpload {
    color: #6c757d;
}

.od-self-enrolment-page #odPanUpload.od-has-file,
.od-self-enrolment-page #odBankProof.od-has-file,
.od-self-enrolment-page #odAddressProofUpload.od-has-file {
    color: #212529;
}

.od-file-upload-row {
    display: flex;
    gap: 0.375rem;
    align-items: stretch;
}

.od-file-upload-row .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.od-pan-verified-input {
    border-color: #198754 !important;
    background-color: #f0fdf4 !important;
    color: #0a3622 !important;
}

.od-mobile-locked-input {
    border-color: #198754 !important;
    background-color: #f8f9fa !important;
    color: #0a3622 !important;
    cursor: not-allowed;
}

.od-alert-banner {
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 1rem;
    font-size: 14px;
}

.od-alert-banner.success {
    background: #d1e7dd;
    color: #0a3622;
    border: 1px solid #badbcc;
}

.od-alert-banner.error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.od-thank-you-panel {
    text-align: center;
    padding: 2rem 1rem;
}

.od-thank-you-panel h2 {
    color: #0ab39c;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.od-is-invalid {
    border-color: #dc3545 !important;
}

.od-otp-sent-msg {
    font-size: 13px;
    color: #198754;
    margin-top: 6px;
    line-height: 1.4;
}

.od-otp-verified-state {
    font-size: 13px;
    color: #198754;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.od-otp-verified-state .fa-check-circle {
    font-size: 14px;
}

.od-otp-verified-input {
    border-color: #198754 !important;
    background-color: #f0fdf4 !important;
    color: #0a3622 !important;
}
