/* =============================================
   Matrimony Registration Form Styles
   Extracted from register.ejs and edit_user.ejs
   ============================================= */

/* Base form elements */
.registration-form input,
.registration-form select {
    border: 1px solid #d4d4d4;
    border-radius: 5px;
    height: 26px;
}

/* TextBox class */
.TextBox {
    height: 19px;
    text-transform: capitalize;
}

/* Dropdown styles */
.dd_NoWidth {
    height: 20px;
}

/* Label class */
.Label {
    font-weight: normal;
    text-align: right;
    padding-right: 5px;
}

/* Section header */
.section-header {
    background-color: #FAB12F;
    padding: 5px;
    font-weight: bold;
    color: white;
    text-align: center;
}

/* Row backgrounds */
.row-yellow {
    background: #ffffac;
}

.row-white {
    background-color: white;
}

/* Cell borders */
.cell-bordered {
    border-bottom: 1px solid #878787;
}

/* Required field indicator */
.required {
    color: red;
}

/* Form title */
.form-title {
    font-size: 23px;
    color: #FA4032;
    font-family: Georgia, serif;
    font-weight: bold;
    padding: 10px;
    font-style: italic;
}

/* Table layout helpers */
.table-layout {
    border-collapse: collapse;
    width: 100%;
}

.col-third {
    width: 33.333%;
}

.cell-padding {
    padding: 5px;
}

/* Horoscope chart styles */
.horoscope-table {
    border-collapse: collapse;
    width: 100%;
}

.horoscope-table td {
    border: 1px solid #000;
    width: 25%;
    height: 50px;
    text-align: center;
    vertical-align: middle;
}

.horoscope-table input {
    width: 90%;
    border: none;
    text-align: center;
}

/* File upload section */
.file-upload-section {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Submit button */
.submit-btn {
    background-color: #FAB12F;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #e99a1f;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-third {
        width: 100%;
        display: block;
    }
    
    .TextBox,
    .dd_NoWidth {
        width: 100% !important;
    }
}

/* Loader/spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* Success/Error messages */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
