:root {
    --primary: #1068A9;
    --primary-dark: #0d5489;
    --navy: #072F4C;
    --accent: #AAD3F2;
    --bg-light: #f8fbff;
    --text-dark: #334155;
    --text-muted: #64748b;
    --white: #FFFFFF;
    --border-radius: 12px;
    --nav-height: 80px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    flex: 0 0 180px;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
}

.logo:hover {
    text-decoration: none !important;
    color: var(--navy) !important;
}

.logo:hover span {
    color: var(--primary) !important;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-auth {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-auth {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* User Dropdown */
.custom-user-dropdown {
    position: relative;
}

.custom-dropdown-toggle {
    background: none;
    border: none;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.custom-dropdown-toggle:hover {
    background: rgba(16, 104, 169, 0.05);
}

.custom-dropdown-toggle span {
    color: var(--primary);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-user-dropdown:hover .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 10px 20px 15px;
}

.dropdown-header strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.dropdown-header span {
    font-size: 12px;
    color: var(--text-muted);
}

.dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 5px 0;
}

.custom-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-dropdown-menu a:hover {
    background: #f8fbff;
    color: var(--primary);
    padding-left: 25px;
}

.custom-dropdown-menu a.logout-link {
    color: #ef4444;
}

.custom-dropdown-menu a.logout-link:hover {
    background: #fef2f2;
    color: #ef4444;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(16, 104, 169, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    text-align: left;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-image {
    position: relative;
    border-radius: 50% 50% 50% 0%;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    display: block;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin: 15px 0 10px;
    font-size: 1.3rem;
    color: var(--navy);
}

/* New Sections Styles */
.about,
.vision,
.achievements {
    padding: 80px 0;
}

.bg-accent {
    background-color: #f0f7ff;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.companies-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
    opacity: 0.6;
}

.company-logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Auth Split-Screen Layout */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: var(--white);
}

.auth-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.auth-left p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 400px;
    text-align: center;
}

.auth-right {
    flex: 1;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(16, 104, 169, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.required-star {
    color: #e53e3e;
    font-weight: bold;
    margin-left: 3px;
}

.form-group input.error-border {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.auth-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 10px;
    text-align: center;
}

.auth-card p.subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 104, 169, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Home Page Image Placeholders with Patterns */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotate(30deg);
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-only {
    display: none;
}

.mobile-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 10px 0;
    width: 100%;
}

.mobile-user-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--navy);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn span:last-child {
    margin-bottom: 0;
}

/* Hamilton Icon to X Animation */
.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100% !important;
        background: var(--white) !important;
        padding: 30px 20px !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
        text-align: center;
        gap: 20px;
        z-index: 1500 !important;
        border-top: 1px solid #f1f5f9;
    }

    .nav-links.active {
        display: flex !important;
        animation: slideDown 0.3s ease-out;
    }

    .mobile-only {
        display: block !important;
    }

    .nav-links a {
        padding: 10px 0;
        width: 100%;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-auth {
        display: none;
        /* Hide buttons on small mobile or move to menu */
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        display: none;
    }
}

/* Footer Section */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--accent);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    color: var(--white);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    color: var(--accent);
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--accent);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Footer Responsiveness */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding: 60px 0 30px;
        text-align: left;
    }
}

/* Job Post Form (Overhauled) */
/* Compact Header System */
.jd-header {
    background: #3b82f6;
    padding: 40px 0;
    /* Slimmer padding */
    min-height: auto;
    margin-bottom: 0;
}

.jd-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 20px auto 50px;
    position: relative;
    padding: 0 40px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    background: white;
}

.step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.step-label {
    position: absolute;
    top: 45px;
    white-space: nowrap;
    font-size: 0.75rem;
    color: #94a3b8;
    left: 50%;
    transform: translateX(-50%);
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

.form-container-jd {
    max-width: 900px;
    margin: 0 auto 100px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

.form-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.form-section-head h2 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.form-section-head p {
    color: var(--text-muted);
    font-size: 1rem;
}

.jd-section {
    margin-bottom: 50px;
}

.jd-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-jd {
    margin-bottom: 25px;
}

.form-group-jd label {
    display: block;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group-jd input[type="text"],
.form-group-jd input[type="number"],
.form-group-jd select,
.form-group-jd textarea {
    width: 100%;
    padding: 9px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s ease;
    background-color: #fff;
    outline: none;
}

.form-group-jd input:focus,
.form-group-jd select:focus,
.form-group-jd textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
}

.tooltip-icon {
    color: #94a3b8;
    cursor: help;
    font-size: 0.85rem;
    margin-left: 6px;
}

/* Premium Work Mode Cards */
.work-mode-one-line {
    display: flex;
    gap: 12px;
}

.work-mode-option {
    flex: 1;
    cursor: pointer;
    margin: 0 !important;
}

.work-mode-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.work-mode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 80px;
}

.work-mode-option input[type="radio"]:checked+.work-mode-card {
    border-color: var(--primary);
    background: #eff6ff;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.work-mode-card i {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.work-mode-card span {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Tag Input Overhaul */
.tags-input-container {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 52px;
    background: #fff;
    transition: all 0.2s ease;
}

.tags-input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.tag {
    background: #eff6ff;
    color: #1e40af;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbeafe;
}

.tag-remove {
    cursor: pointer;
    color: #60a5fa;
    font-size: 1.1rem;
}

.tag-input-field {
    border: none;
    outline: none;
    flex: 1;
    min-width: 120px;
    background: transparent;
    font-size: 0.95rem;
}

.comp-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.comp-row select {
    width: 100px !important;
}

.comp-row input {
    flex: 1;
}

.jd-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.jd-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.btn-ai {
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ai:hover {
    background: var(--primary);
    color: #fff;
}

.jd-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.btn-next {
    background: var(--primary);
    color: #fff;
    padding: 14px 50px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 104, 169, 0.2);
}

.btn-next:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.add-field-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.add-field-btn:hover {
    text-decoration: underline;
}

.dynamic-fields-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.dynamic-fields-table th {
    text-align: left;
    font-size: 0.85rem;
    padding: 10px;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.dynamic-fields-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.remove-field {
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
}


.pt-nav {
    padding-top: var(--nav-height);
}

/* Employer Dashboard & Job Listing Card Overhaul */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.stat-card p {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.job-card-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card-wrapper:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.job-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.job-card-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-dash {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-yellow {
    background: #fefce8;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.badge-blue {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

.badge-green {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.job-meta-info {
    display: flex;
    gap: 16px;
    color: #64748b;
    font-size: 0.85rem;
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.job-meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Action Buttons Container (From User Request) */
.btns.up-tab.job-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.btns.up-tab.job-tab a,
.btns.up-tab.job-tab button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
    color: #fff;
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Job Card Redesign to match screenshot */

.job-card-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.job-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.job-card-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-dash {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.badge-yellow {
    background: #fffbeb;
    color: #92400e;
}

.badge-blue {
    background: #eff6ff;
    color: #1e40af;
}

.badge-green {
    background: #f0fdf4;
    color: #166534;
}

.badge-red {
    background: #fff1f2;
    color: #be123c;
}

.job-meta-info {
    display: flex;
    gap: 20px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.job-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.job-meta-info i {
    font-size: 1rem;
}

/* Action Buttons */
.btns.up-tab.job-tab {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btns.up-tab.job-tab a,
.btns.up-tab.job-tab button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btns.up-tab.job-tab a:hover,
.btns.up-tab.job-tab button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.applicant-list {
    background-color: #3b82f6 !important;
}

.applicant-invite-list {
    background-color: #3b82f6 !important;
}

.copy-url-btn {
    background-color: #3b82f6 !important;
}

.shareBtn {
    background-color: #3b82f6 !important;
}

.job-block {
    background-color: #ef4444 !important;
}

.job-pause {
    background-color: #ef4444 !important;
}

.job-stop {
    background-color: #ef4444 !important;
}

.applicant-invite-list {
    background-color: #3b82f6 !important;
}

.copy-url-btn {
    background-color: #3b82f6 !important;
}

#generateButton {
    background-color: #3b82f6 !important;
}

.shareBtn {
    background-color: #3b82f6 !important;
}

.job-block {
    background-color: #ef4444 !important;
}

.job-pause {
    background-color: #f59e0b !important;
}

.job-stop {
    background-color: #dc2626 !important;
}

.btns.up-tab.job-tab a:hover,
.btns.up-tab.job-tab button:hover {
    filter: brightness(0.9);
    transform: scale(1.05);
}

/* Share Dropdown (Contextual) */
.share {
    position: relative;
}

.share-icon {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    display: none;
    flex-direction: row;
    gap: 10px;
    z-index: 100;
    margin-bottom: 10px;
}

.share:hover .share-icon {
    display: flex;
}

.share-icon .button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
}

.pagination li a,
.pagination li span {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination li.active span {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination li a:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

/* UI Refinements */
.dash-spacer {
    margin-top: 40px;
}

.footer-simple {
    background: #f8fafc;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-simple span {
    color: #3b82f6;
    font-weight: 600;
}

/* Job Detail Page Redesign */
.job-detail-header-wrapper {
    background: #fff;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.job-detail-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #64748b;
    font-size: 1.1rem;
}

.job-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-detail-meta i {
    color: #94a3b8;
}

.job-main-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.job-content-section {
    margin-bottom: 45px;
}

.job-content-section:last-child {
    margin-bottom: 0;
}

.job-content-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #3b82f6;
}

.job-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.job-sidebar-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 100px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary-card-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-size: 1.2rem;
}

.summary-card-info .label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.summary-card-info .value {
    display: block;
    font-weight: 600;
    color: #1e293b;
}

.apply-btn-hero {
    background: #3b82f6;
    color: #fff;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    border: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    transition: all 0.2s;
}

.apply-btn-hero:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* UI Consistency & Spacing */
.dash-spacer {
    margin-top: 40px;
    margin-bottom: 60px;
}

.bg-navy {
    background-color: #1e293b !important;
}

.badge-dash {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-red {
    background: #fee2e2;
    color: #991b1b;
}

.badge-yellow {
    background: #fef9c3;
    color: #854d0e;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-navy {
    color: #1e293b !important;
}

/* Base Layout Spacing */
.pt-nav {
    padding-top: 80px;
    /* Navbar height */
}

@media (max-width: 768px) {
    .dash-spacer {
        margin-top: 20px;
    }
}



/* Custom Alert Styles */
.custom-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

.custom-alert-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.custom-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.custom-alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.custom-alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/* Employer Dashboard - Applicant List Styles */
.kpi-row {
    margin-bottom: 30px;
}

.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 18px 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.kpi-card:hover {
    transform: translateY(-3px);
}

.kpi-card .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    display: block;
}

.kpi-card .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.chart-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    height: 350px;
}

.chart-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-dashboard {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.table-dashboard thead {
    background: #3b82f6;
    color: white;
}

.table-dashboard thead th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 15px;
    border: none;
}

.table-dashboard tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.cv-score-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    width: 60px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}

.cv-score-fill {
    height: 100%;
    background: var(--success);
    border-radius: 10px;
}

.btn-icon-round {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-icon-round:hover {
    transform: scale(1.1);
}