/* ==========================================================================
   CAREERS PAGE STYLES - SENYUM MEDIA STATIONERY
   ========================================================================== */

:root {
    --brand-orange: #FF5A00;
    --brand-blue: #5468ff;
    --brand-green: #10B981;
    --brand-yellow: #EAB308;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --card-bg: #FFFFFF;
    --bg-light: #F8FAFC;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Body Setup */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* ========================================
   1. Abstract Layered Background Accents
   ======================================= */
.careers-decor-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Soft Blurry Mesh Gradient Blobs */
.decor-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.05;
    mix-blend-mode: multiply;
}

.decor-glow-1 {
    top: -5%;
    left: -15%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, var(--brand-blue) 0%, rgba(255,255,255,0) 80%);
}

.decor-glow-2 {
    top: 35%;
    right: -15%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--brand-green) 0%, rgba(255,255,255,0) 80%);
}

.decor-glow-3 {
    top: 70%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--brand-yellow) 0%, rgba(255,255,255,0) 80%);
}

/* Subtle abstract intersecting thin lines (SVG) */
.decor-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08; /* Extremely subtle and clean */
}

.decor-lines path {
    fill: none;
    stroke-width: 1.5;
}

.decor-lines path:nth-child(1) {
    stroke: var(--brand-blue);
    stroke-dasharray: 8 8; /* Tech dashed sweep */
}

.decor-lines path:nth-child(2) {
    stroke: var(--brand-green);
}

/* Hide line sweeps on mobile to ensure ultimate performance & pure layout */
@media (max-width: 768px) {
    .decor-glow {
        filter: blur(100px);
        opacity: 0.03;
    }
    .decor-lines {
        display: none !important;
    }
}

/* ========================================
   2. Hero Section (Layered Glassmorphic Card)
   ======================================= */
.careers-hero {
    position: relative;
    padding: 120px 0 50px 0; /* Clear room for header */
    background-color: transparent;
    z-index: 1;
}

/* Frosted Semi-transparent Glass Panel */
.careers-hero-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    padding: 55px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(30, 41, 59, 0.03);
}

/* Hero Inner Abstract Glow Accents */
.hero-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.hero-card-glow.glow-blue {
    top: -80px;
    left: -80px;
    background-color: var(--brand-blue);
}

.hero-card-glow.glow-green {
    bottom: -80px;
    right: -80px;
    background-color: var(--brand-green);
}

.careers-badge-container {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.careers-brand-badge {
    background: linear-gradient(135deg, rgba(84, 104, 255, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(84, 104, 255, 0.15);
    color: var(--brand-blue);
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.careers-hero-title {
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800;
    font-size: 2.85rem;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 15px;
}

.careers-hero-subtitle {
    position: relative;
    z-index: 1;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 95px 0 35px 0;
    }
    .careers-hero-card {
        padding: 35px 20px;
        border-radius: 20px;
    }
    .careers-hero-title {
        font-size: 1.85rem;
    }
    .careers-hero-subtitle {
        font-size: 0.95rem;
    }
}

/* ========================================
   3. Filter Tabs (Screenshot matching)
   ======================================= */
.careers-filter-container {
    position: relative;
    margin-bottom: 45px;
    z-index: 1;
}

.careers-nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.careers-nav-link {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 8px 16px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.careers-nav-link:hover {
    color: var(--brand-blue);
}

/* Underline Indicator Animation */
.careers-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.careers-nav-link.active {
    color: var(--brand-blue) !important;
    font-weight: 700;
}

.careers-nav-link.active::after {
    width: 24px; /* Matches orange indicator line in mockup */
}

@media (max-width: 576px) {
    .careers-nav-tabs {
        gap: 0.5rem;
    }
    .careers-nav-link {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
}

/* ========================================
   4. Grid & Cards (Restored Initial Style)
   ======================================= */
.careers-grid {
    position: relative;
    margin-bottom: 90px;
    z-index: 1;
}

.career-col {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center;
}

.career-col.filtered-out {
    transform: scale(0.85);
    opacity: 0;
    display: none !important;
}

/* Restored Clean & Flat Card */
.career-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px; /* Consistent heights */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.career-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.career-position {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.career-type {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    transition: var(--transition-smooth);
}

/* Premium Corporate Blue Hover States */
.career-card:hover {
    border-color: var(--brand-blue); /* Modern tech-corporate blue border */
    box-shadow: 0 12px 25px rgba(84, 104, 255, 0.08); /* Clean blue elevation glow */
    transform: translateY(-4px);
}

.career-card:hover .career-position {
    color: var(--brand-blue); /* Text highlights to blue */
}

/* Visual Active States (clicked feedback) */
.career-card.active-state {
    border-color: var(--brand-blue);
    box-shadow: 0 12px 25px rgba(84, 104, 255, 0.1);
}

.career-card.active-state .career-position {
    color: var(--brand-blue);
}

/* ========================================
   5. Empty State Styles
   ======================================= */
.careers-empty-state {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--card-bg);
    border: 1px dashed var(--border-light);
    border-radius: 16px;
    font-family: 'Roboto', sans-serif !important;
    color: var(--text-muted);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

/* ========================================
   6. Career Detail Page Specific Styles
   ======================================= */
.btn-back {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    color: var(--text-muted);
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.btn-back:hover {
    color: var(--brand-blue);
    border-color: rgba(84, 104, 255, 0.3);
    transform: translateX(-3px);
}

.career-detail-container {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Info & Requirement card */
.job-info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(30, 41, 59, 0.03);
    height: 100%;
}

.job-section-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-section-title i {
    color: var(--brand-blue);
}

.job-list-items {
    padding-left: 20px;
    margin-bottom: 30px;
}

.job-list-items li {
    font-family: 'Roboto', sans-serif !important;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Form Card Styling */
.application-form-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(30, 41, 59, 0.03);
}

.form-label-custom {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label-custom span.optional-text {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-control-custom {
    background-color: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-control-custom:focus {
    background-color: #FFFFFF;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(84, 104, 255, 0.1);
    outline: none;
}

/* Modern Drag & Drop File Upload Area */
.upload-dropzone {
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    background-color: #F8FAFC;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--brand-blue);
    background-color: rgba(84, 104, 255, 0.02);
}

.upload-icon {
    font-size: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: var(--transition-smooth);
}

.upload-dropzone:hover .upload-icon {
    color: var(--brand-blue);
    transform: translateY(-2px);
}

.upload-text {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.upload-hint {
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Hidden original file input */
.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Selected File Preview Badge */
.file-preview-container {
    margin-top: 8px;
    background-color: rgba(84, 104, 255, 0.05);
    border: 1px solid rgba(84, 104, 255, 0.15);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.file-preview-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.file-preview-info i {
    color: var(--brand-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.file-preview-name {
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.file-preview-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.file-preview-remove:hover {
    background-color: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

/* Submit Button styling */
.btn-submit-application {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    font-size: 1.05rem;
    background-color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 14px 28px;
    width: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(84, 104, 255, 0.25);
}

.btn-submit-application:hover {
    background-color: #3b50df;
    border-color: #3b50df;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 104, 255, 0.35);
}

.btn-submit-application:active {
    transform: translateY(0);
}

/* Success notification style */
.apply-alert-success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    color: var(--brand-green);
    padding: 16px 20px;
    font-family: 'Roboto', sans-serif !important;
}

.apply-alert-success h5 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    margin-bottom: 6px;
}

