/* Custom styles for Job Scraper */

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.navbar-brand {
    font-weight: 600;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Dashboard cards */
.card.bg-primary,
.card.bg-success,
.card.bg-info,
.card.bg-warning {
    border: none;
}

.card.bg-primary .card-body,
.card.bg-success .card-body,
.card.bg-info .card-body,
.card.bg-warning .card-body {
    padding: 1.5rem;
}

/* Job listings */
.job-item {
    transition: background-color 0.2s ease;
}

.job-item:hover {
    background-color: #f8f9fa;
}

.job-title {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.job-title:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

.job-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.job-summary {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Filters */
.filter-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
}

/* Pagination */
.pagination .page-link {
    color: #0d6efd;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Authentication pages */
.auth-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Error states */
.alert {
    border-radius: 0.375rem;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #198754 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #0dcaf0 !important;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Custom utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.border-start-primary {
    border-left: 4px solid #0d6efd !important;
}

.border-start-success {
    border-left: 4px solid #198754 !important;
}

.border-start-warning {
    border-left: 4px solid #ffc107 !important;
}

.border-start-info {
    border-left: 4px solid #0dcaf0 !important;
}