
*{box-sizing:border-box}
:root{color-scheme:dark}
body{margin:0;background:#090909;color:#f5f5f5;font-family:Arial,Helvetica,sans-serif}
header{height:68px;padding:0 7%;border-bottom:1px solid #262626;display:flex;align-items:center;justify-content:space-between}
.brand{color:#fff;text-decoration:none;font-size:20px;font-weight:700;letter-spacing:-.5px}
.back{color:#aaa;text-decoration:none;font-size:14px}
main{width:min(680px,92%);margin:48px auto 70px}
.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#999}
h1{font-size:34px;letter-spacing:-1px;margin:12px 0}
.intro{font-size:14px;line-height:1.7;color:#aaa;margin:0 0 30px}
.section{border:1px solid #292929;border-radius:12px;padding:24px;margin-top:18px;background:#101010}
.section h2{font-size:18px;margin:0 0 8px}
.description{color:#999;font-size:13px;line-height:1.6;margin:0 0 22px}
.field{margin-top:22px}
.field:first-of-type{margin-top:0}
label,.field-title{display:block;font-size:14px;font-weight:600;margin-bottom:10px}
.required{color:#aaa;font-weight:400}
input[type="text"],input[type="date"],textarea{width:100%;background:#090909;border:1px solid #383838;border-radius:8px;color:#f5f5f5;padding:13px;font:14px Arial,Helvetica,sans-serif;outline:none}
input:focus,textarea:focus{border-color:#999}
textarea{min-height:105px;resize:vertical;line-height:1.6}
textarea.large{min-height:140px}
.options{display:grid;gap:12px}
.option{display:flex;gap:10px;align-items:flex-start;color:#d0d0d0;font-size:14px;line-height:1.5;cursor:pointer}
.option input{margin-top:3px;accent-color:#fff}
.hint{font-size:12px;color:#888;line-height:1.6;margin-top:8px}
button{width:100%;padding:14px;border:0;border-radius:8px;background:#f5f5f5;color:#111;font-size:14px;font-weight:700;cursor:pointer;margin-top:22px}
button:disabled{opacity:.5;cursor:not-allowed}
.message{display:none;margin-top:16px;padding:13px;border:1px solid #383838;border-radius:8px;color:#ddd;font-size:13px;line-height:1.6;white-space:pre-wrap}
.message.show{display:block}
.history{margin-top:32px}
.application{border:1px solid #292929;border-radius:12px;padding:19px;margin-top:14px;background:#101010}
.application.my-application{border:1px solid #777;background:#141414;box-shadow:0 0 0 1px #292929}
.application-top{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.application-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mine-label{font-size:10px;letter-spacing:1px;font-weight:700;color:#fff;background:#292929;border:1px solid #555;padding:5px 8px;border-radius:5px}
.status{font-size:12px;color:#ddd;text-transform:capitalize;border:1px solid #444;border-radius:20px;padding:5px 9px}
.application p{font-size:13px;color:#aaa;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.application small{color:#777}

/* Progress bar */
.progress-section{margin:25px 0 22px}
.progress-label{font-size:12px;color:#888;margin-bottom:17px}
.progress-track{display:flex;align-items:flex-start;position:relative;justify-content:space-between}
.progress-track:before{content:"";position:absolute;height:2px;background:#333;top:12px;left:12px;right:12px}
.progress-line{position:absolute;height:2px;background:#aaa;top:12px;left:12px;width:0;transition:width .3s}
.progress-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:9px;width:33.33%;text-align:center}
.step-circle{width:25px;height:25px;border-radius:50%;border:1px solid #555;background:#111;display:flex;align-items:center;justify-content:center;font-size:11px;color:#888}
.step-name{font-size:11px;color:#777}
.progress-step.completed .step-circle{background:#eee;border-color:#eee;color:#111}
.progress-step.active .step-circle{background:#fff;border:2px solid #fff;color:#111;box-shadow:0 0 0 4px #ffffff20}
.progress-step.completed .step-name,.progress-step.active .step-name{color:#fff;font-weight:700}

/* Status colors */
.status.pending{border-color:#8a713d;color:#e5c98b;background:#8a713d18}
.status.reviewing{border-color:#777;color:#eee;background:#77777720}
.status.approved{border-color:#438b62;color:#8de0ac;background:#438b6218}
.status.rejected{border-color:#b83232;color:#ff8585;background:#b8323218}

/* Rejection warning */
.rejection-warning{border:1px solid #a52e2e;background:#260d0d;border-radius:9px;padding:17px;margin:21px 0}
.rejection-title{display:flex;align-items:center;gap:9px;color:#ff7777;font-size:14px;font-weight:700;margin-bottom:8px}
.rejection-icon{width:23px;height:23px;border:1px solid #b83232;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px}
.rejection-warning p{color:#e6aaaa!important;margin:0;font-size:13px}
.rejection-warning .rejection-note{margin-top:10px;padding-top:10px;border-top:1px solid #6c2929;color:#ffb5b5!important}

.review-note{border:1px solid #333;background:#181818;padding:13px;border-radius:8px;margin-top:15px}
.review-note strong{font-size:12px;color:#eee}
.review-note p{margin:7px 0 0}

.application-date{display:block;margin-top:16px}
footer{text-align:center;color:#666;font-size:12px;padding:0 12px 35px}

@media(max-width:500px){
header{padding:0 5%}
main{margin-top:35px}
h1{font-size:29px}
.section{padding:18px}
.application{padding:15px}
.step-name{font-size:10px}
}