body {
    background-color: #f8f9fa;
}
.section-title {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px dashed #eac9c9;
    padding-bottom: 5px;
}
.upload-box {
    border: 2px dashed #ccc;
    padding: 15px;
    text-align: center;
    background-color: white;
    position: relative;
    cursor: pointer;
}
.upload-box img {
    max-width: 100%;
    max-height: 200px;
    display: block;
    margin: 0 auto;
}
.warning-box {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    margin-bottom: 5px;
    border-radius: 0;
}
.upload-container {
    border: 2px solid #f1d596;
    background-color: #fffdf5;
    padding: 10px;
}
.upload-note {
    display: inline-block;
    background-color: #f8e6a0;
    color: #000;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 0px;
    margin-top: 5px;
}
.hidden-file {
    display: none;
}
.id-photo {
    max-width: 140px;
    cursor: pointer;
    border: 1px solid #ccc;
    margin-top: 25px;
}
.passport-photo {
    max-width: 100%;
    cursor: pointer;
    border: 1px solid #ccc;
}
.instructions ol {
    padding-left: 20px;
    font-size: 14px;
    margin: 0;
}

.upload-grid {
    display: grid;
    gap: 1rem;
}

select.form-select {
    max-height: 100px !important;
    overflow-y: auto;
}

/* Mobile: stack ID -> Passport -> Survey */
@media (max-width: 767.98px) {
    .upload-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
      "id"
      "passport"
      "survey";
    }
}

/* Desktop: 2 columns; Survey under the ID (left), Passport on the right */
@media (min-width: 768px) {
    .upload-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
      "id       passport"
      "survey   passport";
    }
}

.id-box { grid-area: id; }
.passport-box { grid-area: passport; }
.survey-box { grid-area: survey; }

.header-section {
    background: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));
    padding: 20px 0;
    color: black;
    height: 300px;

    display: flex;
    align-items: center; /* vertical */
    justify-content: center; /* horizontal */
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    max-height: 135px;
    width: auto;
}

.header-text {
    line-height: 1.2;
}

.header-title {
    font-size: 3.75rem;
    font-weight: bold;
    margin: 0;
}

.header-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 5px 0;
}

.header-description {
    font-size: 1.25rem;
    margin: 0;
}

/* 📱 Mobile view adjustments */
@media (max-width: 768px) {
    .header-section {
        height: auto;
        padding: 15px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        max-height: 80px;
    }

    .header-title {
        font-size: 2rem; /* ~32px */
    }

    .header-subtitle {
        font-size: 1.25rem; /* ~20px */
    }

    .header-description {
        font-size: 1rem; /* ~16px */
    }
}

.bg-primary, .btn-primary {
    background-color: #01002A !important;
}