/* Custom UI improvements for JobsConnect */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

html, body {
    height: 100%;
}

#__next, main {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Cards */
.card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056d6 100%);
    border: none;
    color: white;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #0d6efd, #0056d6);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0056d6, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.btn-success {
    background: linear-gradient(90deg, #28a745, #1e7e34);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(90deg, #1e7e34, #155724);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-outline-light:hover {
    background-color: white;
    color: #0d6efd;
}

/* Navbar */
.navbar-brand img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}

/* Footer */
.footer-custom {
    border-top: 1px solid #343a40;
    margin-top: auto;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    transform: translateY(-3px);
}

/* Containers */
.container main {
    min-height: 60vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0056d6 100%);
    padding: 5rem 0;
    color: white;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Job Cards */
.job-card {
    border-left: 5px solid #0d6efd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Table Styling */
table {
    font-size: 0.95rem;
}

table thead {
    background-color: #f8f9fa;
}

table th {
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

/* Alerts and Badges */
.alert {
    border-radius: 8px;
    border: none;
}

.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 20px;
}

/* Loading and Transitions */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .container main {
        min-height: auto;
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.rounded-lg {
    border-radius: 12px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Link Styling */
a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    color: #0056d6;
    text-decoration: underline;
}

/* Text Colors */
.text-primary {
    color: #0d6efd !important;
}

.text-muted {
    color: #6c757d !important;
}

