/* General Page Reset */
body {
    background-color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    margin: 0;
    display: initial;
}

/* --- Header Styling --- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 1.25rem;
    font-weight: 350;
    margin: 0;
    letter-spacing: 0.5px;
}

.back-btn {
    position: absolute;
    left: 20px;
    color: #000;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

/* --- Form Layout --- */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

#apply-form{
    display: initial;
}

.sub-text {
    text-align: center;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 4.4rem;
    line-height: 1.5;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #222;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Grey Input Boxes */
.form-input {
    width: 100%;
    padding: 16px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333;
    box-sizing: border-box;
    outline: none;
    margin-bottom: 15px;
}

.form-input:focus {
    background-color: #e6e6e6;
}

.form-input::placeholder {
    color: #aaa;
}

/* --- Double Upload Section --- */
.upload-row {
    display: flex;
    gap: 75px;
    margin-bottom: 50px;
}

.upload-col {
    flex: 1; /* 50% width each */
}

.file-drop-area {
    width: 100%;
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    height: 170px; /* Fixed height for consistency */
    box-sizing: border-box;
    overflow: hidden;
    transition: background 0.2s;
}

.file-drop-area:hover {
    background-color: #e6e6e6;
}

.drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.upload-icon {
    color: #999;
    margin-bottom: 10px;
}

.drop-text {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 4px;
}

.drop-subtext {
    font-size: 0.65rem;
    color: #aaa;
}

/* Previews */
.preview-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    padding: 5px;
    background: #f2f2f2;
}

.preview-text {
    position: absolute;
    background: #f2f2f2;
    padding: 10px;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #b93b3b; /* Red */
    color: white;
    font-size: 1rem;
    font-weight: 400;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 3rem;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.hidden { display: none !important; }

/* Responsive: Stack uploads on mobile */
@media (max-width: 600px) {
    .upload-row {
        flex-direction: column;
    }
}