/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* --- Brand Colors --- */
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #60a5fa;
    --accent: #2563eb;
    
    /* --- Status Colors --- */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* --- Backgrounds & Surfaces --- */
    --bg-dark: #000000;
    --bg-darker: #050505;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* --- Typography --- */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* --- Shadows --- */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);

    /* --- Layout & Utilities --- */
    --top-padding: 8rem;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* =========================================
   2. TYPOGRAPHY & BASE HTML
   ========================================= */
/* --- Data Tables --- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; margin-bottom: 1rem; border-radius: 12px; }

.glass-table { width: 100%; border-collapse: separate; border-spacing: 0; }

.glass-table th { background: rgba(255, 255, 255, 0.03); padding: 1rem; text-align: left; font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid var(--glass-border); }

.glass-table td { padding: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: white; }

.glass-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

body { font-family: var(--font-main); background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%); background-attachment: fixed; color: var(--text-primary); min-height: 100vh; overflow-x: hidden; position: relative; }

/* Animated Background */
body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(29, 78, 216, 0.06) 0%, transparent 50%); animation: gradientShift 15s ease infinite; z-index: -1; }

@keyframes gradientShift { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }

/* Particles Container */
.particles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }

.particle { position: absolute; pointer-events: none; transition: transform 0.05s linear; }

/* =========================================
   3. GLOBAL COMPONENTS & LAYOUT CONTAINERS
   ========================================= */
/* Glassmorphism Container */
.glass-container { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.05); padding: 2.5rem; animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

.no-hover:hover { transform: none !important; box-shadow: var(--shadow-lg) !important; border-color: var(--glass-border) !important; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   4. FORMS & INPUTS
   ========================================= */
/* Glass Input Fields */
.glass-input { width: 100%; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: var(--text-primary); font-size: 1rem; transition: all 0.3s ease; outline: none; }

.glass-input:focus { background: rgba(255, 255, 255, 0.08); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); transform: translateY(-2px); }

.glass-input::placeholder { color: var(--text-secondary); }

/* Global Form Input Styles */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea { width: 100%; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: var(--text-primary); font-family: var(--font-main); font-size: 1rem; transition: all 0.3s ease; outline: none; resize: none; }

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus { background: rgba(255, 255, 255, 0.08); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); transform: translateY(-2px); }

/* Fix for Select Options */
option { background-color: var(--bg-dark); color: var(--text-primary); }

.brand-text { font-family: var(--font-display); }

/* =========================================
   5. BUTTONS
   ========================================= */
/* Glass Buttons */
.glass-btn { padding: 1rem 2rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; border-radius: 12px; color: white; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); }

.glass-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s ease; }

.glass-btn:hover::before { left: 100%; }

.glass-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); }

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

/* Secondary Button */
.glass-btn-secondary { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }

.glass-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }

.glass-btn-primary { background: linear-gradient(135deg, var(--primary), #2563eb); border-color: rgba(59, 130, 246, 0.4); }

.glass-btn-primary:hover { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }

/* =========================================
   6. NAVIGATION BAR
   ========================================= */
/* Navigation Bar */
.navbar { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 1rem 2rem; position: sticky; top: 0; z-index: 1000; animation: slideDown 0.5s ease-out; }

@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.navbar-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }

.navbar-brand { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; }

.navbar-links { display: flex; gap: 1.5rem; align-items: center; }

.navbar-link { color: var(--text-primary); text-decoration: none; padding: 0.5rem 1rem; border-radius: 8px; transition: all 0.3s ease; position: relative; }

.navbar-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: all 0.3s ease; transform: translateX(-50%); }

.navbar-link:hover::after { width: 80%; }

.navbar-link:hover { color: var(--primary); }

/* =========================================
   7. ALERTS, MESSAGES & OVERLAYS
   ========================================= */
/* Messages/Alerts */
.messages { position: fixed; top: 2rem; right: 2rem; z-index: 9999; max-width: 400px; }

.alert { padding: 0.5rem 2rem; border-radius: 12px; margin-bottom: 1rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid; animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--shadow-md); }

@keyframes slideInRight { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.alert-success { background: rgba(16, 185, 129, 0.1); border-color: var(--success); color: var(--success); }

.alert-error { background: rgba(239, 68, 68, 0.1); border-color: var(--error); color: var(--error); }

.alert-info { background: rgba(37, 99, 235, 0.1); border-color: var(--primary); color: var(--primary); }

.alert-warning { background: rgba(245, 158, 11, 0.1); border-color: var(--warning); color: var(--warning); }

/* Form Styles */
.form-group { margin-bottom: 1.5rem; }

.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-primary); font-weight: 500; font-size: 0.95rem; }

.form-errors { margin-top: 0.5rem; padding: 0.75rem; background: rgba(239, 68, 68, 0.1); border: 1px solid var(--error); border-radius: 8px; color: var(--error); font-size: 0.875rem; }

.form-errors ul { list-style: none; margin: 0; padding: 0; }

.form-errors li { margin-bottom: 0.25rem; }

.form-errors li:last-child { margin-bottom: 0; }

/* Links */
a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; }

a:hover { color: var(--secondary); }

.profile-link { transition: all 0.2s ease; }

.profile-link:hover { color: var(--secondary) !important; opacity: 0.8; text-decoration: underline !important; }

/* Card */
.card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-md); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); }

/* =========================================
   8. UTILITIES & HELPERS
   ========================================= */
/* Utilities */
.text-center { text-align: center; }

.mt-1 { margin-top: 0.5rem; }

.mt-2 { margin-top: 1rem; }

.mt-3 { margin-top: 1.5rem; }

.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }

.mb-2 { margin-bottom: 1rem; }

.mb-3 { margin-bottom: 1.5rem; }

.mb-4 { margin-bottom: 2rem; }

.w-full { width: 100%; }

/* Responsive */
@media (max-width: 768px) {
    .glass-container { padding: 1.5rem; border-radius: 16px; }

    .navbar { padding: 1rem; }

    .navbar-content { flex-direction: column; gap: 1rem; }

    .messages { right: 1rem; left: 1rem; max-width: none; }
}

/* Loading Animation */
.loading { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: var(--primary); animation: spin 1s ease-in-out infinite; }

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

/* Smooth Scrollbar */
::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background: var(--bg-darker); }

::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: 5px; }

::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--primary-dark), var(--primary)); }

/* Custom Checkbox */
.glass-checkbox { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; cursor: pointer; position: relative; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }

.glass-checkbox:checked { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); }

.glass-checkbox:checked::after { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: white; font-size: 12px; }

.glass-checkbox:hover { border-color: var(--secondary); box-shadow: 0 0 5px rgba(255, 255, 255, 0.1); }

/* Verified Badge Utility */
.verified-badge { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 1.25em; height: 1.25em; color: var(--primary); margin-left: 0.35rem; }

.verified-badge svg { width: 100%; height: 100%; filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5)); }

.verified-badge.gold { color: #fbbf24; }

.verified-badge.gold svg { filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5)); }

/* Skeleton Loader */
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.skeleton { background: rgba(255, 255, 255, 0.03); position: relative; overflow: hidden; border-radius: 8px; }

.skeleton::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent); animation: shimmer 1.5s infinite; }

/* Pracc Card Redesign */
.pracc-card { position: relative; overflow: hidden; transition: all 0.3s ease; min-height: 100px; padding: 0 !important; /* Override default padding to handle bg */ }

.pracc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); border-color: rgba(255, 255, 255, 0.2); }

.pracc-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.15; z-index: 0; transition: all 0.5s ease; filter: grayscale(100%); mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%); -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%); }

.pracc-card:hover .pracc-bg { opacity: 0.25; filter: grayscale(0%); transform: scale(1.05); }

.pracc-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; width: 100%; padding: 1.25rem 1.5rem; background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%); }

.agent-icons-stack { display: flex; align-items: center; margin-left: 1rem; }

.agent-icon { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.1); background: var(--glass-bg); object-fit: cover; margin-left: -10px; transition: all 0.3s ease; position: relative; }

.agent-icon:first-child { margin-left: 0; }

.agent-icon:hover { transform: translateY(-4px) scale(1.1); z-index: 10; border-color: var(--primary); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }

/* Custom Toggle Switch */
.toggle-wrapper { display: flex; align-items: center; }

.toggle-wrapper input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 50px; height: 26px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; position: relative; cursor: pointer; transition: all 0.3s ease; outline: none; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); }

.toggle-wrapper input[type="checkbox"]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: rgba(255, 255, 255, 0.8); border-radius: 50%; transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }

.toggle-wrapper input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }

.toggle-wrapper input[type="checkbox"]:checked::after { transform: translateX(24px); background: white; }

.toggle-wrapper input[type="checkbox"]:hover { background: rgba(255, 255, 255, 0.15); }

.toggle-wrapper input[type="checkbox"]:checked:hover { background: var(--primary-dark); }

/* Team Tiers (Solid Colors) */
.tier-badge-lg,
.tier-badge-sm,
.tier-label { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }

/* Tier 1.0 - VCT (Gold) */
.tier-1,
.tier-1\.0,
.tier-label.t1,
.tier-label.t1\.0,
.tier-badge-lg.tier-1 { background-color: #FFD700 !important; background: #FFD700 !important; color: #000000 !important; border: 1px solid #eab308; box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }

/* Tier 1.5 - Top VCL (Crimson/Red) */
.tier-1\.5,
.tier-label.t1\.5,
.tier-badge-lg.tier-1\.5 { background-color: #DC143C !important; background: #DC143C !important; color: #ffffff !important; border: 1px solid #990000; box-shadow: 0 0 10px rgba(220, 20, 60, 0.4); }

/* Tier 2.0 - VCL (Blue) */
.tier-2,
.tier-2\.0,
.tier-label.t2,
.tier-label.t2\.0,
.tier-badge-lg.tier-2 { background-color: #3b82f6 !important; background: #3b82f6 !important; color: #ffffff !important; border: 1px solid #2563eb; box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); }

/* Tier 2.5 - Top VRC (Emerald/Green) */
.tier-2\.5,
.tier-label.t2\.5,
.tier-badge-lg.tier-2\.5 { background-color: #10b981 !important; background: #10b981 !important; color: #ffffff !important; border: 1px solid #059669; box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }

/* Tier 3.0 - VRC (Bronze) */
.tier-3,
.tier-3\.0,
.tier-label.t3,
.tier-label.t3\.0,
.tier-badge-lg.tier-3 { background-color: #cd7f32 !important; background: #cd7f32 !important; color: #ffffff !important; border: 1px solid #8b4513; box-shadow: 0 0 8px rgba(205, 127, 50, 0.4); }

/* Tier 4.0 - Amateur (Gray) */
.tier-4,
.tier-4\.0,
.tier-label.t4,
.tier-label.t4\.0,
.tier-badge-lg.tier-4 { background-color: #64748b !important; background: #64748b !important; color: #ffffff !important; border: 1px solid #475569; box-shadow: 0 0 5px rgba(100, 116, 139, 0.3); }

/* Specific Adjustments for the Card Label */
.tier-label { text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   9. RECRUITMENT & APP SPECIFIC
   ========================================= */

/* Hub Header */
.recruitment-hub-header { margin-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 0px; }

.recruitment-nav-container { display: flex; gap: 2rem; justify-content: center; }

.recruitment-tab-link { text-decoration: none; padding-bottom: 1rem; color: var(--text-secondary); border-bottom: 2px solid transparent; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; }

.recruitment-tab-link.active { color: white; border-bottom-color: var(--primary); }

/* Filter Partial */
.recruitment-filters { background: rgba(255, 255, 255, 0.03); padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); }

.recruitment-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

/* Post Form */
.grid-checkbox-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; max-height: 200px; overflow-y: auto; padding: 0.5rem; background: rgba(0, 0, 0, 0.2); border-radius: 8px; }

.glass-checkbox-item { display: flex; align-items: center; gap: 0.5rem; }

.glass-checkbox-label { font-size: 0.9rem; cursor: pointer; color: var(--text-secondary); }

.toggle-wrapper { display: flex; align-items: center; }

/* Lists and Cards */
.recruitment-title-gradient { font-size: 2.5rem; background: linear-gradient(135deg, white, #94a3b8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.player-card-img-container { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.1); }

.role-badge { background: rgba(59, 130, 246, 0.2); color: var(--secondary); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(59, 130, 246, 0.3); }

.role-badge-red { background: rgba(239, 68, 68, 0.2); color: #f87171; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(239, 68, 68, 0.3); }

.tier-badge-small { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }

/* Recruitment Hub Redesign */
.recruitment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); gap: 1.5rem; }

.recruitment-card { position: relative; overflow: hidden; background: var(--glass-bg); backdrop-filter: blur(4px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-md); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }

.recruitment-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5); border-color: rgba(255, 255, 255, 0.2); }

.card-glow { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.3s; z-index: 0; pointer-events: none; }

.recruitment-card:hover .card-glow { opacity: 0.15; }

.recruitment-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; flex: 1; }

.recruitment-img-container { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin-bottom: 1.25rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); border: 2px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }

.recruitment-img-container img { width: 100%; height: 100%; object-fit: cover; }

.recruitment-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 2rem; color: rgba(255, 255, 255, 0.2); }

.recruitment-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; color: white; }

.recruitment-card-subtitle { color: var(--text-secondary); font-weight: 400; font-size: 0.95rem; margin-bottom: 1rem; }

.recruitment-section-label { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

.recruitment-badge-list { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }

.recruitment-role-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; background: rgba(59, 130, 246, 0.1); color: var(--primary); border: 1px solid rgba(59, 130, 246, 0.2); font-weight: 600; }

.recruitment-role-badge.red { background: rgba(239, 68, 68, 0.1); color: var(--error); border-color: rgba(239, 68, 68, 0.2); }

.recruitment-tier-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-primary); }

.recruitment-description { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 1.5rem; flex-grow: 1; }

.recruitment-card-footer { width: 100%; margin-top: auto; position: relative; z-index: 1; }

.recruitment-badge-top-right { position: absolute; top: 1rem; right: 1rem; z-index: 5; padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.7rem; font-weight: 700; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); letter-spacing: 1px; }

/* --- Recruitment Preview Styles (Shared) --- */
.preview-card { background: rgba(255, 255, 255, 0.03); border-radius: 8px; padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.05); }

.preview-heading { font-size: 0.85rem; color: white; margin-bottom: 0.5rem; font-family: var(--font-display); display: flex; align-items: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

.tags-container { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.preview-badge { font-size: 0.8rem; padding: 0.25rem 0.6rem; border-radius: 20px; background: rgba(255, 255, 255, 0.08); color: #e2e8f0; border: 1px solid rgba(255, 255, 255, 0.1); }

.tier-badge { border-color: var(--badge-color); background: var(--badge-color); color: #0f172a; font-weight: 600; box-shadow: 0 0 10px var(--badge-color); }

/* Accordion Styles */
.accordion-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); width: 100%; padding: 0.75rem 1rem; border-radius: 8px; color: white; font-weight: 500; font-size: 0.9rem; font-family: var(--font-display); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; margin-bottom: 0.25rem; }

.verified-badge { color: #3b82f6; display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; }

.verified-badge.gold { color: #fbbf24; }

.accordion-btn:hover { background: rgba(255, 255, 255, 0.07); }

.accordion-btn.active { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: rgba(0, 0, 0, 0.2); border-radius: 4px; margin-bottom: 0.5rem; }

.chevron { transition: transform 0.3s; }

.accordion-btn.active .chevron { transform: rotate(180deg); }

.date-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); border: 1px solid rgba(255, 255, 255, 0.1); }

.preview-list-item { padding: 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.agent-pool-row { display: flex; align-items: center; margin-bottom: 0.75rem; padding: 0.5rem; background: rgba(255, 255, 255, 0.02); border-radius: 8px; }

.agent-pool-label { width: 120px; flex-shrink: 0; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }

.agent-list-row { display: flex; flex-wrap: wrap; gap: 0.5rem; flex-grow: 1; }

/* Glassy Dropdown */
.glass-dropdown-wrapper { position: relative; display: flex; align-items: center; }

.glass-dropdown-wrapper .dropdown-icon { position: absolute; left: 1rem; color: #64748b; pointer-events: none; font-size: 0.9rem; transition: color 0.3s; }

.glass-dropdown-wrapper .dropdown-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; font-size: 0.75rem; transition: color 0.3s; }

.glass-dropdown { padding: 0.6rem 2.5rem; border-radius: 12px; font-weight: 600; font-size: 0.9rem; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; background: transparent; color: #64748b; appearance: none; -webkit-appearance: none; outline: none; font-family: var(--font-display); }

.glass-dropdown:hover { background: rgba(255, 255, 255, 0.05); color: #94a3b8; }

.glass-dropdown:focus { background: rgba(255, 255, 255, 0.05); }

.glass-dropdown.active { background: rgba(56, 189, 248, 0.1); color: #38bdf8; border-color: rgba(56, 189, 248, 0.2); font-weight: 700; }

.glass-dropdown.active+.dropdown-chevron,
.glass-dropdown-wrapper:has(.glass-dropdown.active) .dropdown-icon,
.glass-dropdown-wrapper:has(.glass-dropdown.active) .dropdown-chevron { color: #38bdf8; }

.glass-dropdown option { background: #1e293b; color: white; padding: 0.5rem; }

/* Team Tab Bar */
.team-tab { padding: 0.6rem 1.5rem; border-radius: 12px; font-weight: 600; font-size: 0.9rem; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; background: transparent; color: #64748b; font-family: var(--font-display); display: flex; align-items: center; gap: 0.5rem; text-decoration: none; white-space: nowrap; }

.team-tab:hover { background: rgba(255, 255, 255, 0.05); color: #94a3b8; }

.team-tab.active { background: rgba(56, 189, 248, 0.1); color: #38bdf8; border-color: rgba(56, 189, 248, 0.2); font-weight: 700; }

.navbar-floating { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

.navbar-floating::before { content: ""; position: absolute; inset: 0; border-radius: inherit; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); z-index: -1; pointer-events: none; }

/* =========================================
   10. NAV MEGA DROPDOWN
   ========================================= */

.nav-dropdown-menu.mega-dropdown { width: 650px; max-width: 90vw; padding: 0; transform-origin: top center; transform: translateX(-50%) translateZ(0) !important; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; overflow: visible !important; }

.nav-dropdown-menu.mega-dropdown.show { transform: translateX(-50%) scale(1) translateY(0) translateZ(0) !important; }

.nav-dropdown-menu.mega-dropdown::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; background: rgba(15, 23, 42, 0.7) !important; backdrop-filter: blur(25px) !important; -webkit-backdrop-filter: blur(25px) !important; }

.mega-dropdown-grid { display: flex; width: 100%; min-height: 380px; background: transparent !important; border-radius: 16px; overflow: hidden; }

.mega-left-col { width: 200px; background: rgba(0,0,0,0.2); border-right: 1px solid rgba(255,255,255,0.08); padding: 1rem 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }

.mega-right-col { flex: 1; padding: 1.5rem; overflow-y: auto; max-height: 500px; }

.mega-nav-item { padding: 0.75rem 1rem; border-radius: 8px; color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.75rem; }

.mega-nav-item:hover { background: rgba(255,255,255,0.05); color: white; }

.mega-nav-item.active { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.mega-grid-title { font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; color: var(--text-secondary); letter-spacing: 1px; margin-bottom: 1rem; text-transform: uppercase; }

.mega-items-grid { display: flex; flex-direction: column; gap: 0.5rem; }

.mega-card { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: all 0.2s; text-decoration: none; }

.mega-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: translateX(4px); }

.mega-card-icon { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,0.05); }

.mega-card-icon.placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 1.2rem; }

.mega-card-content { flex: 1; }

.mega-card-title { color: white; font-weight: 600; font-size: 0.95rem; }

.mega-card-desc { color: var(--text-secondary); font-size: 0.8rem; }

.mega-card-action { color: var(--text-secondary); font-size: 0.8rem; opacity: 0; transition: opacity 0.2s, transform 0.2s; transform: translateX(-5px); }

.mega-card:hover .mega-card-action { opacity: 1; transform: translateX(0); }

.mega-back-btn { background: transparent; border: none; color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; margin-bottom: 1rem; transition: color 0.2s; font-family: inherit; }

.mega-back-btn:hover { color: white; }

.mega-selected-parent { padding: 1rem; background: rgba(0,0,0,0.2); border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; border: 1px solid rgba(255,255,255,0.05); }

.mega-selected-icon { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,0.05); }

.mega-selected-icon.placeholder { display: flex; align-items: center; justify-content: center; }

.mega-selected-name { color: white; font-weight: 700; font-size: 0.9rem; }

.mega-view-all { display: inline-flex; align-items: center; gap: 0.5rem; color: #60a5fa; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.2s; }

.mega-view-all:hover { color: #3b82f6; }

.skeleton-card { height: 66px; border-radius: 12px; background: rgba(255,255,255,0.02); animation: pulse 1.5s infinite; }

@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 0.2; } 100% { opacity: 0.5; } }

.fade-in { animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }