/* Careers Listing Page */
.careers-listing-section {
    padding: 45px 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Filters */
.careers-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    margin-bottom: 30px;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: #004b6b;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    color: #333333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #51b146;
    box-shadow: 0 0 0 3px rgba(81, 177, 70, 0.1);
}

.filter-actions {
    display: flex;
    align-items: end;
}

.clear-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #e4203270;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: #c41e2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 32, 51, 0.3);
}

/* Results Count */
.results-count {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(81, 177, 70, 0.1);
    border-radius: 10px;
    border-left: 4px solid #51b146;
}

.results-count p {
    margin: 0;
    color: #004b6b;
    font-weight: 500;
}

/* Careers Grid */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.career-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Career Header */
.career-header {
    padding: 25px 25px 15px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.career-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.career-title a {
    color: #004b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.career-title a:hover {
    color: #51b146;
}

.career-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.employment-type-badge,
.experience-level-badge,
.featured-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employment-type-badge.full-time {
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
}

.employment-type-badge.part-time {
    background: rgba(0, 75, 107, 0.1);
    color: #004b6b;
}

.employment-type-badge.contract {
    background: rgba(54, 96, 114, 0.1);
    color: #366072;
}

.employment-type-badge.temporary {
    background: rgba(228, 32, 51, 0.1);
    color: #e4203270;
}

.experience-level-badge.entry {
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
}

.experience-level-badge.mid {
    background: rgba(0, 75, 107, 0.1);
    color: #004b6b;
}

.experience-level-badge.senior {
    background: rgba(54, 96, 114, 0.1);
    color: #366072;
}

.experience-level-badge.executive {
    background: rgba(228, 32, 51, 0.1);
    color: #e4203270;
}

.featured-badge {
    background: linear-gradient(135deg, #51b146, #004b6b);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-badge i {
    font-size: 0.7rem;
}

/* Career Content */
.career-content {
    padding: 20px 25px;
}

.career-description {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.career-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333333;
    font-size: 0.9rem;
}

.detail-item i {
    color: #51b146;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.career-date,
.application-deadline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999999;
    font-size: 0.8rem;
}

.career-date i,
.application-deadline i {
    color: #51b146;
    font-size: 0.7rem;
}

.application-deadline {
    color: #e4203270;
    font-weight: 600;
}

/* Career Footer */
.career-footer {
    padding: 20px 25px;
    background: rgba(81, 177, 70, 0.05);
}

.apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.apply-btn:hover::before {
    left: 100%;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.4);
}

.apply-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.apply-btn:hover i {
    transform: translateX(3px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: rgba(81, 177, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #51b146;
    font-size: 2rem;
}

.no-results h3 {
    color: #004b6b;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-results p {
    color: #666666;
    margin-bottom: 30px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    color: #004b6b;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #51b146;
    color: #ffffff;
    border-color: #51b146;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.3);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #004b6b;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: #51b146;
    color: #ffffff;
    border-color: #51b146;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(81, 177, 70, 0.3);
}

.pagination-number.active {
    background: #51b146;
    color: #ffffff;
    border-color: #51b146;
    box-shadow: 0 3px 10px rgba(81, 177, 70, 0.3);
}

.pagination-dots {
    color: #999999;
    font-weight: 600;
    padding: 0 5px;
}

/* Dark Theme */
.dark-theme .careers-listing-section {
    background: #1a1a1a;
}

.dark-theme .careers-filters {
    background: #2d2d2d;
}

.dark-theme .filter-group label {
    color: #eeeff1;
}

.dark-theme .filter-group select {
    background: #1a1a1a;
    color: #eeeff1;
    border-color: #444444;
}

.dark-theme .filter-group select:focus {
    border-color: #51b146;
}

.dark-theme .results-count {
    background: rgba(81, 177, 70, 0.1);
}

.dark-theme .results-count p {
    color: #eeeff1;
}

.dark-theme .career-card {
    background: #2d2d2d;
}

.dark-theme .career-header {
    border-color: #444444;
}

.dark-theme .career-title a {
    color: #eeeff1;
}

.dark-theme .career-title a:hover {
    color: #51b146;
}

.dark-theme .career-description {
    color: #cccccc;
}

.dark-theme .detail-item {
    color: #e0e0e0;
}

.dark-theme .career-meta {
    border-color: #444444;
}

.dark-theme .career-footer {
    background: rgba(81, 177, 70, 0.1);
}

.dark-theme .no-results {
    background: #2d2d2d;
}

.dark-theme .no-results h3 {
    color: #eeeff1;
}

.dark-theme .no-results p {
    color: #cccccc;
}

.dark-theme .pagination-btn {
    background: #2d2d2d;
    color: #eeeff1;
    border-color: #444444;
}

.dark-theme .pagination-btn:hover {
    background: #51b146;
    color: #ffffff;
    border-color: #51b146;
}

.dark-theme .pagination-number {
    background: #2d2d2d;
    color: #eeeff1;
    border-color: #444444;
}

.dark-theme .pagination-number:hover {
    background: #51b146;
    color: #ffffff;
    border-color: #51b146;
}

.dark-theme .pagination-number.active {
    background: #51b146;
    color: #ffffff;
    border-color: #51b146;
}

.dark-theme .pagination-dots {
    color: #999999;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .careers-listing-section {
        padding: 60px 0;
    }
    
    .careers-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
    
    .careers-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
}

@media (max-width: 767.98px) {
    .careers-listing-section {
        padding: 40px 0;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .career-header,
    .career-content,
    .career-footer {
        padding: 20px;
    }
    
    .career-details {
        gap: 8px;
    }
    
    .career-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination-numbers {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .pagination-btn {
        order: 1;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .career-title {
        font-size: 1.1rem;
    }
    
    .career-description {
        font-size: 0.9rem;
    }
    
    .apply-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

