/* ===== BASE ===== */
.application-page {
    padding: 40px 0;
}


/* ===== HEADER ===== */
.application-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.application-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #FF6711;
    margin-bottom: 15px;
    line-height: 1;
}

.application-header p {
    color: #555;
    line-height: 1.6;
}

/* ===== CARD ===== */
.application-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* ===== FORM ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="file"] {
    background: #fafafa;
}

.form-hint {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

/* ===== AGREEMENT ===== */
.form-agreement {
    margin-top: 20px;
    font-size: 14px;
}

/* ===== BUTTON ===== */
.form-submit {
    text-align: center;
    margin-top: 35px;
}

.form-submit button {
    padding: 14px 50px;
    border-radius: 30px;
    border: none;
    background: #FF6711;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.form-submit button:hover {
    background: #e63219;
}

/* ===== MODAL ===== */
.custom-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.custom-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-box {
    position: relative;
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    z-index: 1;
    max-width: 400px;
    width: 100%;
}

.modal-box h3 {
    margin-bottom: 10px;
    color: #FF6711;
}

.modal-box button {
    margin-top: 20px;
    padding: 10px 35px;
    border: none;
    border-radius: 25px;
    background: #FF6711;
    color: #fff;
    cursor: pointer;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 993px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .application-card {
        padding: 15px;
    }

    .form-grid {
        gap: 0px;
    }

    .application-page {
        padding: 15px 0;
    }

    .application-header {
         margin: 0 auto 15px;
    }
    .application-header h2 {
        font-size: 26px;
    }
    .application-header p {
        font-size: 14px;
    }
}
