.job-salary {
    font-size: 18px;
    font-weight: bold;
    color: var(--bs-heading-color);
    margin-bottom: 15px;
}

.btn-view,
.btn-view:hover {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}

.job-detail {
    background-color: var(--bs-gray-900);
    color: var(--bs-body-color);
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow);
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
    width: 30vw;
    height: auto;
}

.full-description h3 {
    color: var(--bs-heading-color);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.full-description ul {
    padding-left: 20px;
}

.full-description li {
    margin-bottom: 5px;
}
 
        /* Enhanced Job Search UI Styles - Matching Statistics Dashboard */
        
        /* Hero Section with Modern Gradient */
        .hero-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 60px 0;
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: "";
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 15s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        /* Stats Cards in Hero */
        .search-stats {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }
        
        .search-stats:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .stat-item {
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .stat-item:hover {
            transform: scale(1.05);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            display: block;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Modern Cards */
        .modern-card {
            transition: all 0.3s ease;
            border: none;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            background: #fff;
        }
        
        .modern-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .modern-card .card-body {
            padding: 1.5rem;
        }        /* Sidebar Styles - Modern Card Design */
        .sidebar-container {
            position: relative;
            height: 100%;
        }
        
        .sidebar-content {
            position: relative;
            height: 100%;
        }
          .sidebar-widget {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 20px;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            transition: all 0.3s ease;
        }
        /* Sidebar Widgets - Enhanced Hover Effects */
            transition: all 0.3s ease;
            border: none;
        }
        
        .sidebar-widget:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .sidebar-widget:last-child {
            margin-bottom: 0;
        }

        /* Section Titles - Matching Statistics */
        .section-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
            color: #212529;
            position: relative;
            padding-left: 18px;
            display: flex;
            align-items: center;
        }
        
        .section-title::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 70%;
            width: 5px;
            background-color: var(--bs-primary);
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        .section-title:hover::before {
            width: 7px;
            background-color: #0d6efd;
        }

        .widget-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #212529;
            display: flex;
            align-items: center;
        }

        /* Filter Tags */
        .filter-tag {
            background: #e9ecef;
            border: none;
            border-radius: 50px;
            padding: 8px 16px;
            margin: 5px 5px 5px 0;
            cursor: pointer;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            color: #6c757d;
        }

        .filter-tag:hover {
            transform: translateY(-2px);
            background: var(--bs-primary);
            color: white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .filter-tag.active {
            background: var(--bs-primary);
            color: white;
        }

        /* Search Form Enhancement */
        .search-form-container {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            transition: all 0.3s ease;
        }
        
        .search-form-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* View Toggle Buttons */
        .view-toggle {
            display: flex;
            gap: 5px;
            background: #f8f9fa;
            padding: 4px;
            border-radius: 8px;
        }

        .view-btn {
            padding: 8px 12px;
            border: none;
            background: transparent;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.25s ease;
            color: #6c757d;
        }
        
        .view-btn:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }

        .view-btn.active {
            background: var(--bs-primary);
            color: white;
            box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
        }

        /* Job Cards - Enhanced Style */
        .job-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            border-left: 4px solid transparent;
        }
        
        .job-card:hover {
            transform: translateX(5px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
            border-left-color: var(--bs-primary);
        }

        /* Feature Icons */
        .feature-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 3rem;
            height: 3rem;
            border-radius: 10px;
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--bs-primary);
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        
        .feature-icon:hover {
            transform: scale(1.1) rotate(5deg);
            background-color: rgba(13, 110, 253, 0.15);
        }

        /* Badges - Enhanced */
        .badge {
            padding: 0.4em 0.8em;
            font-weight: 500;
            transition: all 0.25s ease;
            border-radius: 50px;
        }
        
        .badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Buttons - Enhanced */
        .btn {
            border-radius: 0.5rem;
            padding: 0.5rem 1.25rem;
            font-weight: 500;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Results Header */
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .results-header:hover {
            background: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }

        /* Animation for incoming cards */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .modern-card, .job-card {
            animation: fadeInUp 0.5s ease-out forwards;
        }
        
        .col-md-6:nth-child(2) .modern-card { animation-delay: 0.1s; }
        .col-md-6:nth-child(3) .modern-card { animation-delay: 0.2s; }
        .col-md-6:nth-child(4) .modern-card { animation-delay: 0.3s; }

        /* Material Symbols Icon Support */
        .material-symbols-outlined {
            font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 24;
            vertical-align: middle;
        }

        /* No Jobs Found - Enhanced */
        .no-jobs-found {
            text-align: center;
            padding: 3rem;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .no-jobs-found:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }
        
        .no-jobs-found .icon-container {
            width: 5rem;
            height: 5rem;
            background: rgba(13, 110, 253, 0.1);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .no-jobs-found:hover .icon-container {
            transform: scale(1.1) rotate(5deg);
            background: rgba(13, 110, 253, 0.15);
        }        /* Enhanced "No More Jobs" Message */
        #no-more-jobs {
            border-radius: 16px;
        
            border: 1px solid #dee2e6;
            position: relative;
            overflow: hidden;
        }
        
        #no-more-jobs::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
     
            animation: shimmerOnce 2s ease-out;
        }
        
        @keyframes shimmerOnce {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        .no-more-jobs-content .icon-container {
            width: 60px;
            height: 60px;
            
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
    
            font-size: 24px;
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        /* Staggered Animation for Job Cards */
        .job-listing-card {
            animation: slideInUp 0.4s ease-out forwards;
        }
        
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }        /* Loading Shimmer Enhancements */
        .jobs-shimmer-container {
            margin-top: 1rem;
        }
        
        .jobs-shimmer-container .shimmer-card {
            animation: fadeInShimmer 0.3s ease-in;
        }
        
        @keyframes fadeInShimmer {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* Enhanced Shimmer Cards for Job Loading */
        .shimmer-card {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e3e6f0;
            margin-bottom: 1rem;
            overflow: hidden;
            position: relative;
        }
        
        .shimmer-card .list-view-content {
            padding: 1.5rem;
        }
        
        .shimmer-card .job-card-content {
            display: flex;
            gap: 1rem;
        }
        
        .shimmer-card .company-logo-wrapper {
            flex-shrink: 0;
        }
        
        .shimmer-card .company-logo {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            background: #f8f9fa;
            position: relative;
            overflow: hidden;
        }
        
        /* Shimmer Animation */
        .shimmer-wrapper {
            position: relative;
            overflow: hidden;
            background: #f8f9fa;
            border-radius: 4px;
        }
        
        .shimmer {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.4),
                transparent
            );
            animation: shimmer 1.5s infinite;
        }
        
        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        /* Shimmer Line Widths */
        .shimmer-line-80 { width: 80%; }
        .shimmer-line-60 { width: 60%; }
        .shimmer-line-40 { width: 40%; }
        .shimmer-line-30 { width: 30%; }
        
        /* Shimmer Card Staggered Animation */
        .shimmer-card:nth-child(1) { animation-delay: 0s; }
        .shimmer-card:nth-child(2) { animation-delay: 0.1s; }
        .shimmer-card:nth-child(3) { animation-delay: 0.2s; }
        .shimmer-card:nth-child(4) { animation-delay: 0.3s; }
        
        /* Load More Button Enhancement */
        #load-more-trigger {
            animation: slideInUp 0.4s ease-out;
        }
        
        #load-more-trigger .btn {
            position: relative;
            overflow: hidden;
        }
        
        #load-more-trigger .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
        }
        
        /* Error Message Styling */
        #load-error {
            animation: slideInUp 0.4s ease-out;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        #load-error .material-symbols-outlined {
            font-size: 1.2rem;
        }
        
        @keyframes fadeInShimmer {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Shimmer Card Styles for JS-generated content */
        .shimmer-card {
            background: #fff;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }

        .shimmer-card .job-card-content {
            display: flex;
            gap: 1rem;
        }

        .shimmer-card .company-logo-wrapper {
            flex-shrink: 0;
        }

        .shimmer-card .company-logo {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
        }

        .shimmer-card .job-details {
            flex: 1;
        }

        .shimmer-card .job-actions {
            flex-shrink: 0;
            width: 120px;
        }

        .shimmer-card .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .shimmer-line-20 { width: 20%; }
        .shimmer-line-30 { width: 30%; }
        .shimmer-line-40 { width: 40%; }
        .shimmer-line-60 { width: 60%; }
        .shimmer-line-80 { width: 80%; }

        @media (max-width: 768px) {
            .shimmer-card .job-card-content {
                flex-direction: column;
            }
            
            .shimmer-card .job-actions {
                width: 100%;
            }
            
            .shimmer-card .action-buttons {
                display: flex;
                gap: 1rem;
                align-items: center;
            }
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* Recruiter Items */
        .recruiter-item {
            transition: all 0.3s ease;
            padding: 0.75rem 0;
        }
        
        .recruiter-item:hover {
            transform: translateX(5px);
        }
        
        .recruiter-item img {
            transition: all 0.3s ease;
        }
        
        .recruiter-item:hover img {
            transform: scale(1.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Active Filters */
        .active-filters .badge {
            position: relative;
            padding-right: 1.5rem;
        }
        
        .active-filters .badge::after {
            content: "×";
            position: absolute;
            right: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
        }

        /* Dropdown Enhancement */
        .dropdown-menu {
            border: none;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }
        
        .dropdown-item {
            transition: all 0.25s ease;
            padding: 0.5rem 1rem;
        }
        
        .dropdown-item:hover {
            background-color: rgba(13, 110, 253, 0.1);
            transform: translateX(5px);
        }        /* Responsive */        @media (max-width: 768px) {
            .hero-section {
                padding: 40px 0;
            }
            
            .stat-number {
                font-size: 2rem;
            }
            
            .results-header {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }
            
            .view-toggle {
                justify-content: center;
            }
            
            .sidebar-container {
                margin-bottom: 2rem;
            }
        }        @media (min-width: 769px) and (max-width: 991px) {
            /* Tablet adjustments */
        }

        @media (min-width: 992px) {
            /* Desktop styles */
        } 

 
/* CSS Variables */
:root {
    --job-card-bg: #ffffff;
    --job-card-border: #e5e7eb;
    --job-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --job-card-hover-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --featured-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Job Card Container */
.job-listing-card {
    background: var(--job-card-bg);
    border: 1px solid var(--job-card-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--job-card-shadow);
}

.job-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--job-card-hover-shadow);
    border-color: #d1d5db;
}

/* Featured Ribbon */
.featured-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--featured-gradient);
    color: white;
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-ribbon .material-symbols-outlined {
    font-size: 14px;
}

/* List View Styling */
.list-view-content {
    padding: 1.5rem;
}

.job-card-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Company Logo */
.company-logo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

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

.promoted-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--warning-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.promoted-badge .material-symbols-outlined {
    font-size: 16px;
}

/* Job Details */
.job-details {
    flex: 1;
    min-width: 0;
}

.job-header {
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.job-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.company-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.company-info .material-symbols-outlined {
    font-size: 18px;
    opacity: 0.7;
}

/* Job Meta Information */
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.meta-item .material-symbols-outlined {
    font-size: 16px;
    opacity: 0.6;
}

.meta-item.salary {
    color: var(--success-color);
    font-weight: 600;
}

/* Job Description */
.job-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.925rem;
}

/* Job Tags */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.job-tag:hover {
    background: #e5e7eb;
}

.job-tag .material-symbols-outlined {
    font-size: 14px;
}

.job-tag.type-full-time {
    background: #dbeafe;
    color: #1e40af;
}

.job-tag.type-part-time {
    background: #fce7f3;
    color: #be185d;
}

.job-tag.type-contract {
    background: #ede9fe;
    color: #6d28d9;
}

/* Job Actions */
.job-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
    min-width: 200px;
}

/* Deadline Indicator */
.deadline-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.deadline-indicator .material-symbols-outlined {
    font-size: 20px;
}

.deadline-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.deadline-text small {
    opacity: 0.8;
    font-size: 0.75rem;
}

.deadline-indicator.normal {
    background: #d1fae5;
    color: #065f46;
}

.deadline-indicator.warning {
    background: #fef3c7;
    color: #92400e;
}

.deadline-indicator.urgent {
    background: #fee2e2;
    color: #991b1b;
}

.deadline-indicator.expired {
    background: #f3f4f6;
    color: #6b7280;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-action .material-symbols-outlined {
    font-size: 18px;
}

.btn-details {
    background: var(--bg-light);
    color: var(--text-primary);
}

.btn-details:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

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

.btn-apply:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* View Mode Styling */
.jobs-container.list-view .grid-view-content {
    display: none !important;
}

.jobs-container.list-view .list-view-content {
    display: block;
}

.jobs-container.grid-view .list-view-content {
    display: none !important;
}

.jobs-container.grid-view .grid-view-content {
    display: block !important;
}

/* Grid View Layout */
.grid-view-content {
    padding: 1.5rem;
    height: 100%;
}

.grid-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.grid-promoted-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--warning-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.grid-company-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.grid-job-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.grid-job-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.grid-company-name,
.grid-location,
.grid-salary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.grid-company-name .material-symbols-outlined,
.grid-location .material-symbols-outlined,
.grid-salary .material-symbols-outlined {
    font-size: 16px;
    opacity: 0.6;
}

.grid-salary {
    color: var(--success-color);
    font-weight: 600;
}

.grid-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 1rem 0;
    flex-grow: 1;
}

.grid-deadline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.grid-deadline .material-symbols-outlined {
    font-size: 16px;
}

.grid-deadline.normal {
    background: #d1fae5;
    color: #065f46;
}

.grid-deadline.warning {
    background: #fef3c7;
    color: #92400e;
}

.grid-deadline.urgent {
    background: #fee2e2;
    color: #991b1b;
}

.grid-deadline.expired {
    background: #f3f4f6;
    color: #6b7280;
}

.grid-actions {
    width: 100%;
    margin-top: auto;
}

.btn-grid-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-grid-action:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-grid-action .material-symbols-outlined {
    font-size: 18px;
}

/* No Jobs Found */
.no-jobs-found {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--job-card-bg);
    border-radius: 16px;
    box-shadow: var(--job-card-shadow);
}

.no-jobs-icon {
    margin-bottom: 2rem;
}

.no-jobs-icon .material-symbols-outlined {
    font-size: 5rem;
    color: var(--text-muted);
}

.no-jobs-found h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-jobs-found p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-card-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
    }
    
    .job-meta {
        gap: 1rem;
    }
    
    .job-actions {
        width: 100%;
        align-items: stretch;
    }
    
    .deadline-indicator {
        width: 100%;
        justify-content: center;
    }
    
    .action-buttons {
        width: 100%;
    }
    
    .btn-action {
        flex: 1;
        justify-content: center;
    }
    
    .featured-ribbon {
        font-size: 0.7rem;
        padding: 4px 30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .list-view-content {
        padding: 1rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .job-description {
        font-size: 0.875rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
}

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

.job-listing-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.job-listing-card:nth-child(1) { animation-delay: 0.05s; }
.job-listing-card:nth-child(2) { animation-delay: 0.10s; }
.job-listing-card:nth-child(3) { animation-delay: 0.15s; }
.job-listing-card:nth-child(4) { animation-delay: 0.20s; }
.job-listing-card:nth-child(5) { animation-delay: 0.25s; }

/* Loading Animation */
.job-listing-card.loading {
    pointer-events: none;
    opacity: 0.6;
}

.job-listing-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
</style>