body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #fcfaf8; 
    margin: 0; 
    padding: 0; 
}
.reg-container { 
    max-width: 900px; 
    margin: 120px auto 50px auto; 
    background: white; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.reg-title { 
    text-align: center; 
    color: #AB6886; 
    font-size: 32px; 
    font-weight: 600; 
    margin-bottom: 10px; 
}
.reg-subtitle { 
    text-align: center; 
    color: #666; 
    margin-bottom: 30px; 
}

.alert { 
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    text-align: center; 
    font-weight: bold; 
}
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #f44336; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #4caf50;}

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.form-group { 
    display: flex; 
    flex-direction: column; 
    margin-bottom: 15px;
}
.form-group.full-width { grid-column: 1 / -1; }
.divider { border-top: 1px dashed #ddd; padding-top: 15px; }

label { 
    font-weight: 600; 
    color: #4e342e; 
    margin-bottom: 5px; 
    font-size: 14px; 
}
input, select { 
    padding: 12px 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-family: inherit; 
    font-size: 14px; 
    outline: none; 
    transition: 0.3s; 
    width: 100%;
    box-sizing: border-box;
}
input:focus, select:focus { 
    border-color: #AB6886; 
    box-shadow: 0 0 0 3px rgba(171,104,134,0.1); 
}

/* Validation Error Highlight */
.error-highlight {
    border: 2px solid #e74c3c !important;
    background-color: #fdf2f2 !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3) !important;
}

/* Modern Date Picker Container */
.date-input-wrapper {
    position: relative;
    width: 100%;
}
.date-input-wrapper::after {
    content: '\f073'; /* FontAwesome Calendar Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #AB6886;
    pointer-events: none;
    font-size: 16px;
}
.modern-date {
    position: relative;
    cursor: pointer;
    padding-right: 40px;
    color: #333;
}
.modern-date::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* File Upload Label */
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888;
    text-align: center;
    font-weight: normal;
}
.file-upload-label i {
    font-size: 24px;
    color: #AB6886;
    margin-bottom: 8px;
}
.file-upload-label:hover {
    border-color: #AB6886;
    background-color: #fffafc;
}
.file-upload-label.has-file {
    border-style: solid;
    border-color: #AB6886;
    color: #AB6886;
    font-weight: bold;
    background-color: rgba(171,104,134,0.05);
}

.btn-submit { 
    background: #AB6886; 
    color: white; 
    border: none; 
    padding: 15px; 
    border-radius: 8px; 
    font-size: 18px; 
    font-weight: bold; 
    cursor: pointer; 
    width: 100%; 
    transition: 0.3s; 
    margin-top: 20px;
}
.btn-submit:hover { background: #914567; }

/* Modal Styles */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 9999; 
    inset: 0; 
    background: rgba(0,0,0,0.6); 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
    animation: fadeIn 0.3s ease-in-out;
}
.modal-content { 
    background: white; 
    padding: 30px; 
    border-radius: 12px; 
    width: 100%; 
    max-width: 450px; 
    text-align: center; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
}
.modal-content h3 { color: #AB6886; margin-bottom: 15px; }
.modal-content p { color: #555; font-size: 14px; line-height: 1.6; text-align: justify; margin-bottom: 20px;}

.modal-btn { 
    background: #AB6886; 
    color: white; 
    border: none; 
    padding: 12px 25px; 
    border-radius: 6px; 
    font-weight: bold; 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-block;
    transition: 0.3s;
}
.modal-btn:hover { background: #aa567c; }

.modal-btn-cancel {
    padding: 12px 20px; 
    border:none; 
    border-radius:6px; 
    cursor:pointer; 
    color: #fff;
    background:#ff6f6f;
    font-weight: bold;
    transition: 0.3s;
}
.modal-btn-cancel:hover { background: #ff5a5a; }

/* OTP Specific Input */
.otp-input {
    font-size: 28px !important;
    text-align: center !important;
    letter-spacing: 12px !important;
    font-weight: bold;
    color: #AB6886;
    background-color: #fcfaf8;
    border: 2px solid #ddd;
}
.otp-input:focus {
    border-color: #AB6886;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) { 
    .reg-container {
        margin: 100px 15px 30px 15px;
        padding: 25px 15px;
    }
    .form-grid { 
        grid-template-columns: 1fr; 
        gap: 10px;
    }
    .reg-title { font-size: 26px; }
    .btn-submit { font-size: 16px; padding: 12px; }
}