
.apply-page {
    min-height: 75vh;
    background: #171310;
    color: #f5ede4;
}

.apply-hero {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, #2a1d13 0%, #171310 100%);
    border-bottom: 1px solid #3e2b20;
}

.apply-eyebrow,
.apply-section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #e6a45a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.apply-eyebrow i {
    margin-right: 8px;
}

.apply-hero h1 {
    margin: 0 0 18px;
    color: #fff5e9;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
}

.apply-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #c3ae9e;
    font-size: 16px;
    line-height: 1.8;
}

.apply-content {
    padding: 70px 0 110px;
}

.apply-layout {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 55px;
    max-width: 1150px;
    margin: 0 auto;
}

.apply-sidebar {
    padding-top: 15px;
}

.apply-sidebar h2 {
    margin: 0 0 16px;
    color: #fff1e3;
    font-size: 30px;
    line-height: 1.25;
}

.apply-sidebar > p {
    margin: 0 0 35px;
    color: #bca898;
    font-size: 15px;
    line-height: 1.8;
}

.apply-tip {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 25px;
}

.apply-tip-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #55402b;
    border-radius: 12px;
    background: #33251b;
    color: #efa95e;
    font-size: 17px;
}

.apply-tip h3 {
    margin: 0 0 7px;
    color: #f1dfcc;
    font-size: 16px;
}

.apply-tip p {
    margin: 0;
    color: #aa998a;
    font-size: 14px;
    line-height: 1.7;
}

.apply-tip a {
    display: inline-block;
    margin-top: 8px;
    color: #eca75c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.apply-tip a:hover {
    color: #ffd09b;
}

.apply-panel {
    padding: 38px;
    border: 1px solid #4a3527;
    border-radius: 16px;
    background: #241c17;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.apply-form-header {
    margin-bottom: 30px;
}

.apply-form-header h2 {
    margin: 0 0 12px;
    color: #fff0e1;
    font-size: 28px;
}

.apply-form-header p {
    margin: 0;
    color: #aa998a;
    font-size: 14px;
}

.apply-form {
    display: grid;
    gap: 25px;
}

.apply-field label {
    display: block;
    margin-bottom: 10px;
    color: #f0e1d2;
    font-size: 14px;
    font-weight: 700;
}

.apply-field label > span {
    color: #e9a65a;
}

.apply-field label em {
    margin-left: 6px;
    color: #998b7e;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.apply-field input,
.apply-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #514033;
    border-radius: 9px;
    outline: none;
    background: #191410;
    color: #fff0df;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.apply-field textarea {
    min-height: 115px;
    resize: vertical;
    line-height: 1.7;
}

.apply-field input::placeholder,
.apply-field textarea::placeholder {
    color: #817163;
}

.apply-field input:focus,
.apply-field textarea:focus {
    border-color: #e9a65a;
    box-shadow: 0 0 0 3px rgba(233, 166, 90, .12);
}

.apply-field small {
    display: block;
    margin-top: 8px;
    color: #9e8d7e;
    font-size: 12px;
}

.apply-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #c8b7a8;
    font-size: 13px;
    line-height: 1.7;
    cursor: pointer;
}

.apply-agreement input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #e8a253;
}

.apply-agreement a {
    color: #e9a65a;
    text-decoration: underline;
}

.apply-button,
.apply-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border: 1px solid #e6a052;
    border-radius: 9px;
    background: #e6a052;
    color: #24160b;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.apply-button:hover {
    background: #ffc27d;
    transform: translateY(-2px);
}

.apply-button-secondary {
    border-color: #5a4332;
    background: #30241b;
    color: #e4cbb4;
}

.apply-button-secondary:hover {
    background: #413022;
}

.apply-submit {
    width: 100%;
}

.apply-form-note {
    margin: -10px 0 0;
    color: #988879;
    font-size: 12px;
    text-align: center;
}

.apply-form-note i {
    margin-right: 5px;
}

.apply-errors {
    margin-bottom: 25px;
    padding: 16px 20px;
    border: 1px solid #87483e;
    border-radius: 10px;
    background: #38221e;
    color: #ffc0ae;
    font-size: 13px;
    line-height: 1.8;
}

.apply-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.apply-state {
    padding: 45px 15px;
    text-align: center;
}

.apply-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border-radius: 18px;
    background: #3d2b1e;
    color: #efac60;
    font-size: 29px;
}

.apply-state-icon.apply-state-success,
.apply-state-icon.status-approved {
    background: #1d3b2b;
    color: #72d99a;
}

.apply-state-icon.status-denied {
    background: #422721;
    color: #f18b77;
}

.apply-state h2 {
    margin: 0 0 14px;
    color: #fff1e4;
    font-size: 25px;
}

.apply-state > p {
    max-width: 390px;
    margin: 0 auto 25px;
    color: #b9a697;
    font-size: 14px;
    line-height: 1.8;
}

.apply-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.apply-status-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 13px;
    border-radius: 20px;
    background: #49351e;
    color: #f8c37c;
    font-size: 12px;
    font-weight: 700;
}

.apply-status-badge.status-approved {
    background: #21412e;
    color: #8ce7a7;
}

.apply-status-badge.status-denied {
    background: #452923;
    color: #ffad97;
}

.apply-submitted-info {
    display: grid;
    gap: 6px;
    max-width: 300px;
    margin: 25px auto 0;
    padding: 18px;
    border: 1px solid #4c382a;
    border-radius: 10px;
    background: #1c1612;
}

.apply-submitted-info span {
    color: #a99789;
    font-size: 12px;
}

.apply-submitted-info strong {
    color: #f5dfc8;
    font-size: 16px;
}

@media (max-width: 850px) {
    .apply-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .apply-sidebar {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .apply-hero {
        padding: 65px 0 50px;
    }

    .apply-content {
        padding: 40px 0 75px;
    }

    .apply-panel {
        padding: 25px 20px;
    }

    .apply-state {
        padding: 30px 0;
    }

    .apply-sidebar h2 {
        font-size: 25px;
    }
}


.apply-policy {
    padding: 23px;
    border: 1px solid #514033;
    border-radius: 12px;
    background: #1c1612;
}

.apply-policy h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    color: #f3e2d0;
    font-size: 16px;
}

.apply-policy h3 i,
.apply-policy h3 span {
    color: #e9a65a;
}

.apply-policy p {
    margin: 0 0 13px;
    color: #c5b3a4;
    font-size: 13px;
    line-height: 1.85;
}

.apply-policy p a {
    color: #e9a65a;
    font-weight: 700;
    text-decoration: underline;
}

.apply-policy .apply-agreement {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #49382b;
    color: #f0dfcc;
    font-weight: 600;
}

@media (max-width: 600px) {
    .apply-policy {
        padding: 18px;
    }
}
