/* =========================================
   CAREERS.CSS - RECRUITMENT MODULE
   ========================================= */

/* --- PUBLIC JOB BOARD (careers.html) --- */
.job-card {
    background: white; border: 1px solid #ddd; padding: 25px; border-radius: 10px;
    margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
    position: relative; overflow: hidden;
}
.job-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.job-card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 5px; background: var(--primary); }

.job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.job-title { font-size: 1.4rem; color: var(--primary); margin: 0; font-weight: 800; }
.job-meta { font-size: 0.85rem; color: #666; margin-top: 5px; display: flex; gap: 15px; }
.job-meta i { color: var(--gold); }

.badge { padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.badge-open { background: #e6fff0; color: #006622; border: 1px solid #b3ffcc; }
.badge-closed { background: #ffe6e6; color: #cc0000; border: 1px solid #ffb3b3; }

/* --- APPLICATION FORM (apply.html) --- */
.exp-box { background: #f8f9fa; padding: 20px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 20px; }
.hidden-field { display: none; margin-top: 10px; }

/* --- ADMIN JOBS DASHBOARD (admin-jobs.html) --- */
/* Tabs */
.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { padding: 10px 20px; border: none; background: #ddd; cursor: pointer; border-radius: 5px; font-weight: bold; transition: 0.3s; }
.tab-btn:hover { background: #ccc; }
.tab-btn.active { background: var(--primary); color: white; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Applicant List Card */
.app-card { 
    background: #f9f9f9; padding: 15px; margin-bottom: 10px; 
    border-left: 4px solid var(--primary); 
    display: flex; justify-content: space-between; align-items: center; 
    border-radius: 4px;
}
.app-info h4 { margin: 0; color: var(--primary); }
.app-info small { color: #666; display: block; margin-top: 2px; }

/* Status Colors */
.status-Accepted { border-left-color: #28a745; background: #e6fff0; }
.status-Rejected { border-left-color: #dc3545; background: #ffe6e6; opacity: 0.7; }

/* Admin Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; }
.modal-content { background: white; width: 90%; max-width: 400px; padding: 25px; margin: 15% auto; border-radius: 10px; text-align: center; box-shadow: 0 5px 30px rgba(0,0,0,0.3); }
.modal-content textarea { width: 100%; padding: 10px; margin: 15px 0; height: 100px; font-family: inherit; border: 1px solid #ccc; border-radius: 5px; resize: vertical; }
/* ... (Keep your existing Job Card and Admin styles) ... */

/* =========================================
   APPLICATION FORM DYNAMICS (apply.html)
   ========================================= */

/* Dynamic Item Container */
.dynamic-group { 
    background: #fff; 
    padding: 20px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    position: relative; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Remove Button (Trash Icon) */
.remove-btn { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    color: #dc3545; 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-size: 0.9rem; 
    transition: 0.2s;
}
.remove-btn:hover { color: #a71d2a; transform: scale(1.1); }

/* Add Button (+ Green) */
.btn-add { 
    background: #28a745; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 0.9rem; 
    margin-bottom: 20px; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-add:hover { background: #218838; }

/* =========================================
   STYLISH SUBMIT BUTTON
   ========================================= */
.btn-submit {
    width: 100%;
    background: var(--gold); /* Gold Background */
    color: var(--primary);   /* Navy Text */
    padding: 18px;
    font-weight: 800;        /* Extra Bold */
    border: none;
    border-radius: 50px;     /* Pill Shape */
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); /* Gold Glow */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px); /* Lifts up */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    transform: scale(0.98); /* Click effect */
}

/* Disabled State (Processing) */
.btn-submit:disabled {
    background: #bdc3c7;
    color: #fff;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Spinner */
.spinner { 
    display: inline-block; 
    width: 20px; 
    height: 20px; 
    border: 3px solid rgba(0, 34, 68, 0.3); /* Navy transparent */
    border-radius: 50%; 
    border-top-color: var(--primary); /* Navy spinner */
    animation: spin 1s ease-in-out infinite; 
    margin-right: 12px; 
    display: none; 
}

@keyframes spin { 
    to { transform: rotate(360deg); } 
}

