/**
 * EKIPI.AL - Main Stylesheet
 * Colors: Orange (#F7931A), White, Light Gray
 * Mobile-first, Clean, Modern UI
 */

/* ===== CSS Variables ===== */
:root {
    --primary: #F7931A;
    --primary-dark: #e8850f;
    --primary-light: #ffa940;
    --secondary: #1a1a2e;
    --dark: #111827;
    --gray-900: #1f2937;
    --gray-800: #374151;
    --gray-700: #4b5563;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #d1d5db;
    --gray-300: #e5e7eb;
    --gray-200: #f3f4f6;
    --gray-100: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 147, 26, 0.3);
}

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

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

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

.btn-white:hover {
    background: var(--gray-100);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--error);
    font-size: 14px;
    margin-top: 4px;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.logo-text {
    color: var(--dark);
}

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

.nav-links {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.nav-link i {
    font-size: 14px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile header buttons - show icons only, hide text */
@media (max-width: 767px) {
    .nav-actions .btn .btn-text {
        display: none;
    }
    .nav-actions .btn {
        padding: 10px 12px;
        gap: 0;
    }
    .nav-actions .btn i {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .nav-actions {
        gap: 12px;
    }
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 20px;
}

@media (min-width: 768px) {
    .nav-toggle { display: none; }
}

/* Mobile Toggle / Hamburger - ALWAYS visible on mobile */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    flex-shrink: 0;
}

.mobile-toggle .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle:hover .hamburger-line {
    background: var(--primary);
}

/* Hide hamburger on desktop ONLY */
@media (min-width: 768px) {
    .mobile-toggle { display: none !important; }
}

/* Hide element completely on mobile */
.hide-mobile {
    display: none !important;
}

@media (min-width: 768px) {
    .hide-mobile { display: inline-flex !important; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.mobile-menu-nav {
    padding: 16px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-menu-link i {
    width: 20px;
    text-align: center;
    color: var(--gray-500);
}

.mobile-menu-link:hover i {
    color: var(--primary);
}

.mobile-menu-link.highlight {
    background: var(--primary);
    color: var(--white);
    margin-top: 8px;
}

.mobile-menu-link.highlight i {
    color: var(--white);
}

.mobile-menu-link.highlight:hover {
    background: var(--primary-dark);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 12px 0;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.hero-subtitle strong {
    color: var(--primary);
}

/* Hero Search */
.hero-search {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .hero-search {
        flex-direction: row;
        padding: 8px;
    }
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.search-input-group i {
    color: var(--gray-500);
}

.search-input,
.search-select {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--gray-800);
}

.search-input:focus,
.search-select:focus {
    outline: none;
}

.search-btn {
    width: 100%;
}

@media (min-width: 768px) {
    .search-btn { width: auto; }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .section-title { font-size: 2rem; }
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
}

.section-link:hover {
    gap: 12px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border-radius: var(--radius);
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.5rem;
}

.category-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-count {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== Listings Grid ===== */
.listings-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.promoted-grid .listing-card {
    border: 2px solid var(--primary);
}

/* ===== Listing Card ===== */
.listing-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.listing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.listing-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.listing-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.listing-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-600);
}

.listing-meta {
    flex: 1;
    min-width: 0;
}

.listing-company {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-company:hover {
    color: var(--primary);
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.listing-location i {
    color: var(--primary);
}

.listing-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.listing-title a:hover {
    color: var(--primary);
}

.listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.tag-category {
    background: var(--gray-100);
    color: var(--gray-700);
}

.tag-type {
    background: rgba(247, 147, 26, 0.1);
    color: var(--primary);
}

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

.listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.listing-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Cities Grid ===== */
.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: 2px solid transparent;
}

.city-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.city-name {
    font-weight: 600;
    color: var(--gray-800);
}

.city-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .cta-content h2 { font-size: 2.5rem; }
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Section Dark */
.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.section-dark .section-title {
    color: var(--white);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
}

.empty-icon i {
    font-size: 2.5rem;
    color: var(--gray-400);
}

.empty-state h3 {
    margin-bottom: 8px;
    color: var(--gray-700);
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.empty-categories {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
}

.empty-categories i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
    display: block;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

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

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

/* Footer links - display as vertical list */
.footer-links a {
    display: block;
    font-size: 0.875rem;
    transition: var(--transition);
    margin-bottom: 10px;
    color: var(--gray-400);
}

.footer-links a:last-child {
    margin-bottom: 0;
}

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

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

/* ===== Alerts ===== */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin: 16px auto;
    position: relative;
}

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

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

.alert-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
}

.alert-close:hover {
    opacity: 1;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none; }

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ===== Promoted Section ===== */
.promoted-section {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, rgba(247, 147, 26, 0.02) 100%);
}

.promoted-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ===== Job Detail Page Styles ===== */
.job-detail-header {
    background: var(--white);
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
}

.job-detail-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.job-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.job-detail-content {
    flex: 1;
}

.job-detail-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--gray-600);
}

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

.job-detail-body {
    padding: 40px 0;
}

.job-detail-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 1024px) {
    .job-detail-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.job-description {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.job-description h3 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    margin-bottom: 12px;
}

.contact-btn-phone {
    background: var(--info);
    color: var(--white);
}

.contact-btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.contact-btn-apply {
    background: var(--primary);
    color: var(--white);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    font-size: 1.25rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ===== Loading Spinner ===== */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--gray-100);
}

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

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}
