/* Nomination Form Styles */
.nomination-form-container {
    /* max-width: 900px; */
    margin: 0 auto;
    /* padding: 0 20px; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Section styling */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Header styling */
.section-header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 15px 20px;
    margin: -25px -25px 25px -25px;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Form rows and fields */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.form-field {
    flex: 1;
    min-width: 0;
}

.form-field.full-width {
    flex: 1 1 100%;
}

.form-field.half-width {
    flex: 1 1 calc(50% - 10px);
}

/* Labels */
.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
    font-size: 14px;
}

/* Input styling */
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    /* font-family: inherit; */
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.4;
}

/* Award description styling */
.award-description {
    background: #f0f7ff;
    border: 1px solid #d1e7ff;
    border-left: 4px solid #4a90e2;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.award-description .award-title {
    color: #2c5282;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.award-description ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
    list-style-position: outside;
}

.award-description li {
    margin-bottom: 8px;
    line-height: 1.4;
    display: list-item;
}

/* Question styling */
.question-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    display: block;
}

/* Error messages */
.error-message, .empty-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

/* Compliance section */
.compliance-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.compliance-section .section-header {
    background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.board-chair-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #4a90e2;
}

.board-chair-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c5282;
}

.indented-section {
    margin-left: 30px;
}

/* Button styling */
.button-section {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e1e8ed;
    margin-top: 30px;
}

.more_btn3.v2 {
    margin: 0 10px;
}

/* Visual separator */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 40px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-field.half-width {
        flex: 1 1 100%;
    }
    
    .form-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .nomination-form-container {
        padding: 0 10px;
    }
}

/* Hide award descriptions by default */
.award-description {
    display: none;
}

.award-description.active {
    display: block;
}

/* Checkbox styling */
.checkbox {
    margin-bottom: 15px;
}

.checkbox label {
    font-weight: normal !important;
    margin-bottom: 0 !important;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    margin-right: 8px;
}

/* Button styling */
.btns {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.more_btn3 {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 24px;
    background: #43B02A;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.more_btn3:hover {
    background: #369821;
}

.more_btn3.v2 {
    background: #43B02A;
}

.more_btn3.v2:hover {
    background: #369821;
}

/* Button spacing */
#ContentPlaceHolder1_save {
    margin-bottom: 5px;
}

/* Board Chair section styling */
.checkbox-inline {
    margin-bottom: 15px;
}

.checkbox-inline label {
    font-weight: normal !important;
    margin-bottom: 0 !important;
    margin-left: 30px !important;
    line-height: 1.4;
}

.board-chair-fields {
    /* display: flex; */
    gap: 20px;
    margin-left: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.board-chair-field {
    flex: 1;
    min-width: 200px;
}

.board-chair-field label {
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 3px !important;
    display: block !important;
    margin-left: 0 !important;
}

.board-chair-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 14px;
}

/* Override grid spacing in compliance section */
.form-section .grid_5,
.form-section .grid_12 {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* Improve radio button spacing */
.radio {
    margin-bottom: 10px;
}

.radio label {
    margin-left: 0 !important;
}

/* Fix for old grid system classes - override conflicting styles */
.grid_12 .form-field label {
    font-weight: bold !important;
    color: #2d3748 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

/* Fix for message label wrapper */
label.message {
    display: block !important;
    width: 100% !important;
}

label.message textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    /* font-family: inherit !important; */
    min-height: 120px !important;
    resize: vertical !important;
}

label.message .empty-message,
label.message .error-message {
    color: #e53e3e !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    display: none !important;
}

/* Radio button styling */
.radio {
    margin-bottom: 15px;
}

.radio label {
    font-weight: normal !important;
    margin-bottom: 0 !important;
    line-height: 1.4;
    cursor: pointer;
}

.radio input[type="radio"] {
    margin-right: 8px;
}

/* Override old grid styles within form sections */
.form-section .grid_12,
.form-section .grid_5 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}