/* WLC Jobs - Custom Styles */

/* Color Variables */
:root {
    --wlc-primary: #2e7d32;
    --wlc-primary-dark: #1b5e20;
    --wlc-secondary: #4caf50;
    --wlc-accent: #81c784;
    --wlc-light: #e8f5e9;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
}

.navbar .nav-link {
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--wlc-primary) 0%, var(--wlc-primary-dark) 100%);
    padding: 5rem 0;
}

/* Cards */
.card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

/* Job Cards */
.job-card {
    border-left: 4px solid var(--wlc-primary);
}

.job-card:hover {
    border-left-color: var(--wlc-secondary);
}

/* Buttons */
.btn-success {
    background-color: var(--wlc-primary);
    border-color: var(--wlc-primary);
}

.btn-success:hover {
    background-color: var(--wlc-primary-dark);
    border-color: var(--wlc-primary-dark);
}

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

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

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--wlc-secondary);
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.15);
}

/* Tables */
.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Footer */
footer {
    background-color: #1a1a1a;
}

footer a {
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--wlc-secondary) !important;
}

/* Sidebar */
.list-group-item {
    border: none;
    padding: 0.875rem 1.25rem;
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: var(--wlc-light);
}

.list-group-item.active {
    background-color: var(--wlc-primary);
    border-color: var(--wlc-primary);
}

/* Stats Cards */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
}

/* Job Detail */
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
}

/* Company Logo */
.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f8f9fa;
    padding: 8px;
}

.company-logo-sm {
    width: 48px;
    height: 48px;
}

.company-logo-lg {
    width: 120px;
    height: 120px;
}

/* Application Status */
.application-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box .form-control {
    padding-left: 2.5rem;
}

.search-box .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* Filter Tags */
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--wlc-light);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--wlc-primary);
}

.filter-tag .remove {
    cursor: pointer;
    opacity: 0.7;
}

.filter-tag .remove:hover {
    opacity: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #6c757d;
}

/* Pagination */
.pagination .page-link {
    color: var(--wlc-primary);
    border: none;
    margin: 0 2px;
    border-radius: 8px;
}

.pagination .page-item.active .page-link {
    background-color: var(--wlc-primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--wlc-primary);
    border: 2px solid #fff;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--wlc-primary);
    font-size: 0.875rem;
}

/* Toast Messages */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--wlc-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .company-logo-lg {
        width: 80px;
        height: 80px;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
}

/* Footer Styles */
footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

footer a:hover {
    color: #ffffff !important;
    opacity: 1;
}

footer ul li {
    margin-bottom: 0.5rem;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .sidebar {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6;
    }
}
