/* Government Job Aggregator Frontend Styles */
.govt-job-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.govt-job-filters {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.govt-job-list {
    display: grid;
    gap: 20px;
}

.govt-job-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.govt-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.govt-job-card.expiring-soon {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #fff, #fff5f5);
}

.job-title {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.job-meta span {
    background: #e9ecef;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

.job-meta .last-date.urgent {
    background: #dc3545;
    color: white;
}

.urgent-badge {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: 600;
}

.job-details {
    margin-bottom: 20px;
}

.job-details p {
    margin: 8px 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.job-details strong {
    color: #495057;
    font-weight: 600;
}

.job-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-notification {
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-notification:hover {
    background: #218838;
    color: white;
    transform: translateY(-1px);
}

.btn-apply {
    background: #dc3545;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-apply:hover {
    background: #c82333;
    color: white;
    transform: translateY(-1px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-numbers {
    padding: 10px 16px;
    border: 1px solid #dee2e6;
    background: white;
    color: #007bff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-numbers.current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-numbers:hover:not(.current) {
    background: #e9ecef;
    transform: translateY(-1px);
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 1.1rem;
}

.no-jobs-found {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 1.1rem;
    border: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .govt-job-container {
        padding: 15px;
    }
    
    .govt-job-filters {
        padding: 20px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .btn-notification,
    .btn-apply {
        text-align: center;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .govt-job-container {
        padding: 10px;
    }
    
    .govt-job-card {
        padding: 20px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}