/* =========================
SUBMIT INFORMATION
========================= */

.submission-section {
    margin-top: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.submission-header h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.submission-header p {
    max-width: 800px;
    color: #444;
    line-height: 1.6;
}

.submission-notice {
    margin: 25px 0 30px;
    padding: 16px 18px;
    background: #fff5f5;
    border-left: 4px solid #c8102e;
    border-radius: 6px;
    color: #444;
    line-height: 1.6;
}


/* =========================
FORM SECTIONS
========================= */

.form-section {
    margin-top: 25px;
    padding: 25px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background: #fafafa;
}

.form-section h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #222;
}

.form-section-description {
    margin-top: 0;
    margin-bottom: 22px;
    color: #666;
}


/* =========================
FORM LAYOUT
========================= */

.form-group {
    width: 100%;
    margin: 0 0 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.form-row .form-group {
    min-width: 0;
}


/* =========================
LABELS
========================= */

.form-group label {
    display: block;
    width: 100%;
    margin: 0 0 7px;
    font-weight: bold;
    line-height: 1.4;
}

.required {
    color: #c8102e;
}


/* =========================
INPUTS
========================= */

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    color: #222;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.form-group input,
.form-group select {
    height: 46px;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c8102e;
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.15);
}


/* =========================
FILE UPLOAD
========================= */

.form-group input[type="file"] {
    font-size: 15px;
    cursor: pointer;
    background: transparent;
    width: auto;
    border: none;
    padding: 0;
}

.form-group input[type="file"]::file-selector-button {
    padding: 11px 20px;
    margin-right: 12px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: #003893;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: #002b70;
}


/* =========================
SUBMIT BUTTON
========================= */

.submission-actions {
    margin-top: 30px;
    text-align: center;
}

#submit-report-button {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    background: #c8102e;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

#submit-report-button:hover {
    background: #002b70;
}

#submit-report-button:active {
    transform: translateY(1px);
}

#submit-report-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submission-actions p {
    max-width: 650px;
    margin: 12px auto 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================
FORM FIELD HELP TEXT
========================= */

.form-group small {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    color: #555;
    background: transparent;
    line-height: 1.5;
}

/* =========================
SUCCESS MESSAGE
========================= */

.submission-success {
    margin-top: 25px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #d6d6d6;
    background: #fafafa;
    text-align: center;
}

.submission-success h2 {
    margin-top: 0;
    color: #003893;
}

.submission-success p {
    color: #444;
    line-height: 1.6;
}

.submission-reference {
    display: inline-block;
    margin: 8px 0 15px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #e8f0fa;
    color: #003893;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.return-home-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #003893;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.return-home-button:hover {
    background: #002b70;
}

/* =========================
FAILURE MESSAGE
========================= */

.submission-failure {
    margin: 25px 0 30px;
    padding: 16px 18px;
    background: #fff5f5;
    border-left: 4px solid #c8102e;
    border-radius: 6px;
    color: #444;
    line-height: 1.6;
}


/* =========================
MOBILE
========================= */

@media (max-width: 600px) {

    .submission-section {
        padding: 20px;
    }

    .form-section {
        padding: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    #submit-report-button {
        width: 100%;
    }

}
