:root {
    --primary-red: #ed1c24;
    --primary-yellow: #ffcb05;
    --dark-bg: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism Background */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-red);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-yellow);
    bottom: -50px;
    left: -50px;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-container span {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo-red {
    color: var(--primary-red);
}

.logo-yellow {
    color: var(--primary-yellow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

/* Hero Section */
.hero {
    padding: 6rem 5% 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #ffcb05);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Jobs Section */
.jobs-container {
    padding: 2rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.job-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
}

.job-tag {
    background: rgba(237, 28, 36, 0.2);
    color: var(--primary-red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.job-info {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: #c41219;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
}

.btn-outline:hover {
    background: var(--primary-yellow);
    color: black;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 4rem auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
}

.form-group input:focus {
    border-color: var(--primary-yellow);
    outline: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Sidebar Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    margin-bottom: 3rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.sidebar-menu {
    list-style: none;
    flex-grow: 1;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(237, 28, 36, 0.1);
    color: var(--primary-red);
}

.sidebar-menu a.active {
    background: var(--primary-red);
    color: white;
}

.admin-main {
    flex-grow: 1;
    padding: 2rem 3rem;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Sidebar Drawer */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 3000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2900;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    margin-top: 3rem;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(237, 28, 36, 0.1);
    color: var(--primary-red);
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 3100;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    nav {
        padding: 0.8rem 1.5rem !important;
        justify-content: space-between !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        z-index: 2000 !important;
    }

    .nav-links {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    body {
        padding-top: 70px !important;
        padding-bottom: 0 !important;
        /* Removed bottom padding since no tab bar */
    }

    #details-section {
        margin: 0 10px 50px !important;
        padding: 1.2rem !important;
    }

    #details-section .grid-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.8rem !important;
    }

    #details-section h2 {
        font-size: 1.5rem !important;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -280px !important;
        width: 280px !important;
        height: 100vh !important;
        z-index: 3000 !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(25px) !important;
    }

    .sidebar.active {
        left: 0 !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8) !important;
    }

    .admin-wrapper {
        flex-direction: column !important;
    }

    .admin-main {
        padding: 4rem 1.2rem 1.2rem !important;
        width: 100% !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

.mobile-tab-bar {
    display: none !important;
}