/* ============================================
   Career Page — Marmelos Design System
   ============================================ */

/* --- Hero Section --- */
.career-hero {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #084298 100%);
    position: relative;
    overflow: hidden;
}
.career-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.career-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.02);
    border-radius: 50%;
}
.career-hero h1 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}
.career-hero .lead {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Why Join Section --- */
.why-join-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 1rem;
    transition: transform 0.4s;
}
.why-join-card:hover .why-join-icon {
    transform: scale(1.1) rotate(5deg);
}
.why-join-card h5 {
    font-family: 'Saira', sans-serif;
    font-weight: 600;
}

/* --- Job Cards --- */
.job-card {
    border-radius: 16px;
    border: none;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}
.job-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bs-secondary);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.job-card:hover::after {
    transform: scaleX(1);
}
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.job-card h5 {
    font-family: 'Saira', sans-serif;
    font-weight: 600;
}
.job-type-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.job-type-fulltime {
    background: rgba(25,135,84,0.15);
    color: #198754;
}
.job-type-parttime {
    background: rgba(13,110,253,0.15);
    color: #0d6efd;
}
.job-type-remote {
    background: rgba(111,66,193,0.15);
    color: #6f42c1;
}
.job-type-internship {
    background: rgba(214,51,132,0.15);
    color: #d63384;
}

/* --- Loading Skeleton --- */
.skeleton-card {
    border-radius: 16px;
    overflow: hidden;
}
.skeleton-line {
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Application Form --- */
.apply-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f0eb 100%);
}
.apply-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}
.apply-form-header {
    padding: 1.5rem 2rem;
    color: #fff;
}
.apply-form-body {
    padding: 2rem;
}
.apply-form-card .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.35rem;
}
.apply-form-card .form-control,
.apply-form-card .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.apply-form-card .form-control:focus,
.apply-form-card .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}
.apply-form-card .form-text {
    font-size: 0.8rem;
}

/* --- Admin Page --- */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f0eb 100%);
}
.admin-login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}
.admin-login-card h3 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
}
.admin-login-card .form-control {
    border-radius: 8px;
    padding: 0.7rem 1rem;
}

.admin-header {
    background: var(--bs-primary);
    color: #fff;
    padding: 1rem 0;
}
.admin-header h4 {
    font-family: 'Saira', sans-serif;
    font-weight: 600;
    margin: 0;
}

.admin-nav .nav-link {
    font-weight: 500;
    color: #495057;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s;
}
.admin-nav .nav-link.active {
    background: #fff;
    color: var(--bs-primary);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

.admin-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.admin-table thead th {
    background: #f8f9fa;
    font-family: 'Saira', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
    padding: 0.85rem 1rem;
}
.admin-table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
}
.admin-table tbody tr:hover {
    background: #f8f9fa;
}

.stat-card-admin {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s;
}
.stat-card-admin:hover {
    transform: translateY(-4px);
}
.stat-card-admin .stat-number {
    font-family: 'Saira', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
}
.stat-card-admin .stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.job-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.job-form-card .form-control,
.job-form-card .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
}
.job-form-card .form-control:focus,
.job-form-card .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}
.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .career-hero h1 {
        font-size: 2rem;
    }
    .stat-card-admin .stat-number {
        font-size: 2rem;
    }
}
