/* ==========================================================================
   Apply Page Specific Styles (Built on global.css)
   ========================================================================== */

.apply-main-wrapper {
    padding: 10rem 0 6rem 0;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(255, 94, 0, 0.05) 0%, transparent 60%);
}

.apply-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- HEADER SECTION --- */
.apply-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-family: var(--font-heading);
    margin: 1rem 0;
}

.apply-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.akcf-status-box {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2rem;
    border-radius: 12px;
    margin-bottom: 4rem;
    text-align: left;
}

.status-indicator {
    width: 12px; height: 12px;
    background-color: #00C853;
    border-radius: 50%;
    box-shadow: 0 0 10px #00C853;
    animation: pulse 2s infinite;
}

.status-details h4 { color: #fff; font-size: 1rem; margin-bottom: 0.3rem; }
.status-details p { color: var(--accent-color); font-size: 0.85rem; font-weight: 600; margin: 0;}

/* --- FORM CONTAINER --- */
.form-glass-container {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.form-section-title:first-child { margin-top: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group.full-width { margin-bottom: 2rem; }

.form-group label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.form-control {
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 94, 0, 0.02);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.1);
}

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; background-image: url('data:image/svg+xml;utf8,<svg fill="%238E8E93" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 1rem center; }

/* --- DRAG & DROP RESUME --- */
.resume-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(10, 10, 12, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.resume-drop-zone:hover, .resume-drop-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(255, 94, 0, 0.03);
}

.hidden-file-input { display: none; }
.upload-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.drop-content p { color: #fff; font-weight: 500; margin-bottom: 0.5rem; }
.browse-link { color: var(--accent-color); text-decoration: underline; }
.drop-content small { display: block; color: var(--text-muted); margin-top: 1rem; font-size: 0.8rem; }

.file-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success-icon { font-size: 2rem; color: #00C853; }
.remove-btn { background: transparent; border: 1px solid #FF3D00; color: #FF3D00; padding: 0.4rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; transition: var(--transition-smooth); }
.remove-btn:hover { background: #FF3D00; color: #fff; }

/* --- CHECKBOXES --- */
.checkbox-group { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 3rem; }

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    position: relative;
}

.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { width: 22px; height: 22px; background: rgba(10,10,12,0.5); border: 1px solid var(--border-color); border-radius: 4px; flex-shrink: 0; position: relative; transition: var(--transition-smooth); }
.custom-checkbox:hover input ~ .checkmark { border-color: var(--accent-color); }
.custom-checkbox input:checked ~ .checkmark { background: var(--accent-color); border-color: var(--accent-color); }
.checkmark:after { content: ""; position: absolute; display: none; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.check-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; padding-top: 0.1rem; }

/* --- SUBMIT BUTTON --- */
.submit-action-group { text-align: center; }
.submit-btn { width: 100%; max-width: 300px; padding: 1.2rem; font-size: 1.1rem; border: none; cursor: pointer; }

/* Loader */
.btn-loader {
    width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- SUCCESS OVERLAY --- */
.success-overlay {
    position: absolute; inset: 0; background: rgba(20, 20, 23, 0.95);
    backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center;
    text-align: center; z-index: 10; padding: 2rem;
}

.success-check { width: 80px; height: 80px; background: #00C853; color: #fff; font-size: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 2rem auto; box-shadow: 0 0 30px rgba(0,200,83,0.3); }
.success-content h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; }
.success-content p { color: var(--text-muted); font-size: 1.1rem; max-width: 400px; margin: 0 auto 2rem auto; line-height: 1.6;}

.hidden { display: none !important; }

@media (max-width: 768px) {
    .form-glass-container { padding: 2.5rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .akcf-status-box { flex-direction: column; text-align: center; padding: 1.5rem; }
}