
.job-search-meta {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count h2 {
    margin: 0;
    color: #1a202c;
    font-size: 1.8rem;
    font-weight: 600;
}

.results-count p {
    margin: 0.25rem 0 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.company-rating {
    display: flex;
    align-items: center;
}

.rating-badge {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.rating-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

/* Job Filters */
.job-filters {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: white;
    color: #64748b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.filter-tag:hover {
    background: #f1f5f9;
    color: #475569;
}

.filter-tag.active {
    background: #d9a442;
    color: white;
    border-color: #c0c0c0;
}

/* Modern Job Cards Grid */
.jobs-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.job-card-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.job-card-modern:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.job-card-modern.expanded {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Job Card Header */
.job-card-header-modern {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.company-logo {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d9a442, #d9a442);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

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

.job-title-modern {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.3;
}

.company-name {
    color: #000000;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.job-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.job-meta-modern span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-meta-modern i {
    font-size: 0.75rem;
}

.job-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.save-job-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}



.job-status-badge {
    font-size: 0.75rem;
}

.status-active {
    background: #dcfce7;
    color: #13b852;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Job Preview */
.job-preview {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.job-summary {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

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

.salary-highlight {
    background: #d1fae5;
    color: #065f46;
}

.benefits-highlight {
    background: #fce7f3;
    color: #be185d;
}

/* Expandable Details */
.job-details-expandable {
    border-bottom: 1px solid #f1f5f9;
}

.expand-job-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #000000;
    transition: all 0.2s ease;
    font-size:medium;
}

.expand-job-btn:hover {
    background: #f8fafc;
}

.expand-icon {
    transition: transform 0.3s ease;
}

.job-details-content {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    animation: slideDown 0.3s ease;
}

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



/* Application Section Button */
.application-button-container {
    margin-top: 1.5rem;
    text-align: center;
}

.apply-now-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.apply-now-btn-main:hover {
    background: linear-gradient(135deg, #d9a442, #d9a442);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: white;
    text-decoration: none;
}

.apply-now-btn-main i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-search-meta {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .search-results-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .results-count h2 {
        font-size: 1.5rem;
    }
    
    .results-count p {
        font-size: 0.85rem;
    }
    
    .rating-badge {
        padding: 0.4rem 0.8rem;
    }
    
    .rating-text {
        font-size: 0.8rem;
    }
    
    .filter-tags {
        gap: 0.5rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .filter-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    .job-card-header-modern {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .logo-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .job-title-modern {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .company-name {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .job-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }
    
    .job-meta-modern {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .job-meta-modern span {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 12px;
    }
    
    .job-preview {
        padding: 1rem;
    }
    
    .job-summary {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .job-highlights {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .highlight-item {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .expand-job-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .job-details-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .quick-apply-section {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem;
    }
    
    .apply-now-btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .apply-time {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .job-search-meta {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .results-count h2 {
        font-size: 1.3rem;
    }
    
    .filter-tags {
        gap: 0.4rem;
    }
    
    .filter-tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .job-card-header-modern {
        padding: 0.75rem;
    }
    
    .job-title-modern {
        font-size: 1rem;
    }
    
    .job-meta-modern span {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .job-preview {
        padding: 0.75rem;
    }
    
    .job-summary {
        font-size: 0.85rem;
    }
    
    .highlight-item {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }
    
    .expand-job-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .quick-apply-section {
        padding: 0.75rem;
    }
    
    .apply-now-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    }
}

@media (min-width: 1024px) {
    .jobs-grid {
        grid-template-columns: 1fr;
        max-width: 900px;
        margin: 0 auto;
    }
}