/* SHINE Employment Application - initial form layout */

.employment-application {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.application-heading {
    margin-bottom: 32px;
}

.application-heading h1 {
    margin-bottom: 10px;
}

.application-heading p {
    max-width: 780px;
}

.application-section {
    margin: 0 0 28px;
    padding: 24px;
    border: 1px solid #cfd5db;
    border-radius: 8px;
    background: #ffffff;
}

.application-section legend {
    padding: 0 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.form-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-field:last-child {
    margin-bottom: 0;
}

.form-field label,
.question-text {
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #9ca7b2;
    border-radius: 5px;
    font: inherit;
    background: #ffffff;
}

.form-field textarea {
    resize: vertical;
}

.form-field small,
.section-help {
    color: #59636e;
}

.required {
    color: #a40000;
}

.question-list {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.question-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    align-items: center;
    padding: 14px;
    border-radius: 6px;
    background: #f5f7f8;
}

.question-text {
    flex: 1 1 520px;
}

.repeat-block {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #d8dde2;
}

.repeat-block:first-of-type {
    margin-top: 12px;
}

.repeat-block h3 {
    margin-top: 0;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.check-card,
.certification-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #cfd5db;
    border-radius: 6px;
}

.certification-statement {
    padding: 16px;
    border-left: 4px solid #657787;
    background: #f5f7f8;
    margin-bottom: 16px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.submit-button {
    padding: 13px 28px;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 800px) {
    .form-grid--2,
    .form-grid--3,
    .form-grid--4,
    .certification-grid {
        grid-template-columns: 1fr;
    }

    .employment-application {
        padding: 32px 16px 56px;
    }

    .application-section {
        padding: 18px;
    }
}


/* Supporting-document upload controls */

.file-drop-zone {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #9ca7b2;
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
}

.file-drop-zone:hover,
.file-drop-zone.is-dragging {
    border-color: #536b7a;
    background: #f5f7f8;
}

.file-button-text {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #8e969e;
    border-radius: 2px;
    background: #f1f1f1;
    color: #111111;
    font-weight: 400;
    white-space: nowrap;
}

.file-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.file-drop-text {
    color: #666666;
    font-size: 1.05rem;
    font-weight: 400;
    white-space: nowrap;
}

.file-input {
    position: absolute;
    width: 1px !important;
    height: 1px;
    padding: 0 !important;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0 !important;
}

@media (max-width: 620px) {
    .file-drop-zone {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .file-drop-text {
        grid-column: 1 / -1;
        font-size: 0.95rem;
    }
}


  /* ----------------------------------------------------------
   Upload Help Box
---------------------------------------------------------- */

.upload-help-box
{
    display: block;

    width: 75%;
    margin: 25px auto;

    padding: 18px 24px;

    background: #eaf4ff;
    border: 1px solid #7fb3e6;
    border-left: 6px solid #2d73c9;

    border-radius: 8px;

    color: #1f2f46;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    line-height: 1.6;
}

.upload-help-box h3
{
    margin-top: 0;
    margin-bottom: 12px;

    color: #1b5fa7;
    font-size: 1.35rem;
}

.upload-help-box h4
{
    margin-top: 20px;
    margin-bottom: 8px;

    color: #1b5fa7;
}

.upload-help-box p
{
    margin-bottom: 14px;
}

.upload-help-box ol,
.upload-help-box ul
{
    margin-left: 24px;
    margin-bottom: 18px;
}

.upload-help-box li
{
    margin-bottom: 6px;
}

.upload-help-box hr
{
    border: 0;
    border-top: 1px solid #b9d5f2;
    margin: 18px 0;
}

.upload-help-box strong
{
    color: #0d4f92;
}

				   
		 

/* ----------------------------------------------------------
   Mobile Layout
---------------------------------------------------------- */




.file-error-message
{
    display: none;
    color: #b00020;
    font-size: 0.9rem;
    margin-top: 6px;
    font-weight: 600;
}


.drivers-license-help
{
    flex: 0 0 100%;
    margin-top: -30px;
    margin-bottom: 10px;
}





@media (max-width:768px)
{
    .upload-help-box
    {
        width: 100%;
        margin: 20px 0;
        padding: 18px;
        border-radius: 6px;
    }

  .drivers-license-help
{
    flex: 0 0 100%;
    margin-top: 4px;
    margin-bottom: 10px;
}
} 