@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --primary-color: #3b82f6;
    --primary-dark: #1e40af;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #cbd5e1;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #f0f4f8;
}

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

/* ==================== HEADER ==================== */
header.site-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo {
    color: white;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo-img {
    height: 32px;
    width: auto;
    vertical-align: middle;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 500;
}

.right-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.auth-nav .auth-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-nav .auth-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.sign-in-btn {
    padding: 8px 18px;
    border-radius: 8px;
    border: 2px solid white;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.sign-in-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== HERO/SEARCH SECTION ==================== */
.search-section {
    background: white;
    padding: 3rem 2rem;
    margin: 2.5rem 0;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.search-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-input-group {
    position: relative;
    flex: 1;
}

.search-input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}

#searchInput {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: var(--bg-white);
}

#searchInput::placeholder {
    color: var(--text-light);
}

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

.filter-group select {
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    background-color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text-primary);
    font-weight: 500;
}

.filter-group select:hover {
    border-color: var(--primary-color);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

#resultsCount {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.clear-btn {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
}

.clear-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== JOBS GRID ==================== */
.jobs-section {
    min-height: 400px;
    margin-bottom: 4rem;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
}

/* ==================== JOB CARDS ==================== */
.job-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #dbeafe;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.company-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.company-name {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.25rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.job-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0;
}

.tag {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.salary {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.posted-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInModal 0.4s ease;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

@keyframes slideInModal {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    transform: rotate(90deg);
}

.job-detail-header {
    margin-bottom: 2rem;
}

.job-detail-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.job-detail-company {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-lighter);
    border-radius: 12px;
}

.job-detail-section {
    margin: 2rem 0;
}

.job-detail-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.job-detail-section ul {
    padding-left: 1.5rem;
    line-height: 1.8;
}

.job-detail-section ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.job-detail-section p {
    line-height: 1.8;
    color: var(--text-secondary);
}

.apply-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.08);
}

/* ==================== EMPTY STATES ==================== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.no-results p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==================== LOADING ==================== */
.loading {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.loading i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    font-weight: 500;
    opacity: 0.9;
}

/* ==================== AUTH PAGES ==================== */
.auth-page {
    padding: 2rem 0 4rem;
}

.auth-card {
    max-width: 520px;
    margin: 2rem auto;
    background: white;
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.auth-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.toggle-btn {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-btn:hover {
    border-color: var(--primary-color);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-form input,
.auth-form select {
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-white);
    font-family: inherit;
    color: var(--text-primary);
}

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

.primary-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-family: inherit;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.08);
}

.secondary-btn {
    padding: 10px 14px;
    background: var(--bg-light);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: inherit;
}

.secondary-btn:hover {
    border-color: var(--primary-color);
    background: #dbeafe;
    transform: translateY(-1px);
}

.auth-message {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.auth-message.error {
    background: #fef2f2;
    color: var(--danger-color);
    border: 1px solid #fecaca;
}

.auth-message.success {
    background: #ecfdf5;
    color: var(--success-color);
    border: 1px solid #dcfce7;
}

.auth-message.info {
    background: #eef2ff;
    color: var(--primary-color);
    border: 1px solid #e5e7eb;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-page {
    padding: 2rem 0 4rem;
}

.profile-card {
    max-width: 620px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    text-align: center;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.1);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-section {
    animation: fadeInUp 0.6s ease-out;
}

.job-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.job-card:nth-child(1) { animation-delay: 0.05s; }
.job-card:nth-child(2) { animation-delay: 0.1s; }
.job-card:nth-child(3) { animation-delay: 0.15s; }
.job-card:nth-child(4) { animation-delay: 0.2s; }
.job-card:nth-child(5) { animation-delay: 0.25s; }
.job-card:nth-child(6) { animation-delay: 0.3s; }

::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    header.site-header {
        padding: 0.8rem 0;
    }

    .header-row {
        gap: 1rem;
    }

    .site-logo {
        font-size: 1.15rem;
    }

    .tagline {
        display: none;
    }

    .auth-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-block;
    }

    .right-nav.open .auth-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 100%;
        background: white;
        color: var(--text-primary);
        padding: 12px;
        border-radius: 0 0 8px 8px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
        min-width: 200px;
    }

    .right-nav.open .auth-nav .auth-link {
        background: var(--bg-light);
        color: var(--text-primary);
        display: block;
        margin: 6px 0;
        border: 1px solid var(--border-color);
    }

    .search-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .results-info {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .clear-btn {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        padding: 1.75rem;
        margin: 5% auto;
    }

    .job-detail-title {
        font-size: 1.5rem;
    }

    .job-detail-meta {
        gap: 1rem;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .site-logo {
        font-size: 1rem;
    }

    .site-logo-img {
        height: 28px;
    }

    .search-section {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
        border-radius: 12px;
    }

    .search-input-group input {
        font-size: 16px;
    }

    .filter-group {
        gap: 0.75rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .job-title {
        font-size: 1.15rem;
    }

    .company-logo {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .job-meta {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.25rem;
    }

    .job-detail-title {
        font-size: 1.25rem;
    }

    .job-detail-company {
        font-size: 1rem;
    }
}

/* ==================== JOB DETAIL PAGE ==================== */
.job-detail-nav {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.back-link:hover {
    background: var(--bg-lighter);
    transform: translateX(-4px);
}

.job-detail-page {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    min-height: 60vh;
}

.job-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.job-detail-main {
    grid-column: 1;
}

.job-detail-sidebar {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-detail-header-top {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.company-logo-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.job-detail-header-info {
    flex: 1;
}

.job-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    background: var(--bg-lighter);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.meta-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.meta-detail i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.meta-detail span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.meta-detail strong {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
}

.apply-btn-large {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.apply-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.08);
}

.job-info-card {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.job-info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.job-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.requirements-list,
.responsibilities-list {
    padding-left: 1.5rem;
}

.requirements-list li,
.responsibilities-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    padding-left: 0.5rem;
}

.requirements-list li::before,
.responsibilities-list li::before {
    content: "✓";
    position: absolute;
    left: -1.2rem;
    color: var(--success-color);
    font-weight: bold;
}

.site-footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive design for job detail page */
@media (max-width: 768px) {
    .job-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-detail-sidebar {
        grid-column: 1;
    }

    .job-detail-header-top {
        flex-direction: column;
        gap: 1rem;
    }

    .job-detail-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .job-detail-page {
        padding: 1.5rem;
    }

    .job-detail-title {
        font-size: 1.5rem;
    }
}
