/* =========================================
   Delta Foremost Contest Form Styles
   ========================================= */

/* === FORM ELEMENTS === */
.points td,
.points table,
.points tr {
    border: 1px solid black;
}

.addedElement {
    border-top: 1px solid #ccc;
    padding: 10px 0;
}

.dividerGreen {
    min-height: 15px;
    margin: 30px 0;
    background-color: #d5eedb;
}

.pointsShowing {
    height: 38px;
    line-height: 38px;
    padding: 5px 0 0 0;
    margin-top: 2px;
}

.spacingTHEntry {
    height: 35px;
}

.spacingTHEntryTwo {
    padding: 5px 0 0 0;
    height: 38px;
    line-height: 38px;
    margin-top: 2px;
}

/* === POINTS DISPLAY === */
#totalPointsFinal {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    padding: 20px;
    height: 70px;
}

/* === RESPONSIVE DESIGN === */
@media (min-width: 1100px) { 
    #totalPointsFinal {
        font-size: 24px;
        padding: 20px;
    }
    
    .col-form-label {
        padding: 0;
    }
}

@media (min-width: 576px) { 
    #hiddenondesktop {
        display: none;
    }
}

@media (max-width: 576px) { 
    #totalPointsFinal {
        font-size: 16px;
        padding: 23px;
    }
}

/* === LOGO === */
.contest-logo {
    height: 180px;
}

/* === FORM SECTIONS === */
.form-section {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.question-section {
    min-height: 43px;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.question-options {
    text-align: left; 
    padding-left: 20px; 
    padding-top: 10px;
    margin-top: 12px;
    padding-bottom: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.points-display {
    font-weight: bold;
    color: #28a745;
    font-size: 13px;
}

/* === LABEL STYLES === */
.col-form-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
}

.form-check-label {
    font-weight: 500;
    color: #343a40;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.form-check-label:hover {
    color: #007bff;
}

/* Question titles - main checkboxes */
.question-section .form-check-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* Option labels - sub-checkboxes */
.question-options .form-check-label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
    padding-left: 8px;
    line-height: 1.5;
}

/* === ALERT STYLES === */
.form-alert {
    padding-top: 15px;
}

/* === FORM INPUTS === */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* === CHECKBOXES === */
.form-check-input {
    margin-top: 0.3rem;
    margin-right: 0.75rem;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ced4da;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.form-check-input:hover {
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.15);
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.form-check-input:focus {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Enhanced checkbox styling for better visual feedback */
.form-check {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.form-check-input:checked::before {
    content: '✓';
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 0.85rem;
    line-height: 1.1;
}

/* === DIVIDER === */
.dividerGreen {
    min-height: 15px;
    margin: 30px 0;
    background: linear-gradient(90deg, #d5eedb 0%, #a8e6cf 50%, #d5eedb 100%);
    border-radius: 8px;
}

/* === SUBMIT AREA === */
.submit-section {
    padding-top: 25px;
    margin-top: 30px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}