/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

    --bg-dark: #000000;
    --bg-darker: #050505;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;

    --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);
}

/* --- 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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    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;
}

/* 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);
    }
}

/* 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: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    resize: none;
    /* Disable resizing */
}

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: 'Outfit', sans-serif;
}

/* 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);
    /* Fix for overflow:hidden with border-radius on some browsers */
    -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);
}

/* 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: 'Outfit', sans-serif;
    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);
}

/* Messages/Alerts */
.messages {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    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);
}

/* 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);
}

/* 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: 'Outfit', sans-serif;
    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;
}

/* =========================================
   Recruitment App Styles
   ========================================= */

/* 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);
    /* Check if this differs */
    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: 'Outfit', sans-serif;
    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 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: 'Outfit', sans-serif;
    /* Enforce font */
    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;
}