/* Variables for consistent theme */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #475569;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #e2e8f0;
    --body-bg: #f1f5f9;
    --border-radius: 0.375rem;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* General Styles */
body {
    background-color: var(--body-bg);
    font-family: var(--font-family);
    color: var(--dark);
    line-height: 1.6;
}

a {
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0.5rem 1.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

.card {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: #fff;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid var(--gray);
    padding: 1.25rem 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-subtitle {
    color: var(--secondary);
    font-weight: 500;
}

.form-control {
    border-radius: var(--border-radius);
    padding: 0.625rem 1rem;
    border: 1px solid #e5e7eb;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    background-color: #2563eb;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--secondary);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    margin-bottom: 4rem;
}

.hero-section h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section .search-form {
    background: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Featured Job Card */
.featured-job {
    border: 2px solid var(--primary);
    background-color: #fff;
}

.featured-job::before {
    content: "Featured";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.featured-job .card-title a {
    color: var(--primary);
}

.featured-job .card-title a:hover {
    color: var(--primary-dark);
}

/* Category Card */
.category-card {
    text-align: center;
    padding: 1.5rem;
    cursor: pointer;
    height: 100%;
}

.category-card:hover {
    background-color: #f8f9fa;
}

.category-card i {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 2.5rem;
}

.category-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.category-card .card-text {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* City Card */
.city-card {
    text-align: left;
}

.city-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.city-card .card-text {
    margin-bottom: 1.25rem;
    color: var(--secondary);
}

.city-card i {
    color: var(--primary);
}

/* Employer Card */
.employer-card {
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 110px;
    overflow: hidden;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.employer-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.employer-logo {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* Job Card */
.job-card {
    margin-bottom: 1.5rem;
}

.job-card .company-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--gray);
}

.job-card .card-body {
    padding: 1.5rem;
}

.job-card .card-title a {
    color: var(--dark);
    font-weight: 600;
}

.job-card .card-title a:hover {
    color: var(--primary);
}

.job-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0;
}

.job-card .job-meta span {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-size: 0.875rem;
}

.job-card .job-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* Profile Section */
.profile-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid white;
    box-shadow: var(--box-shadow);
}

/* Job Details */
.job-details {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.job-details-header {
    border-bottom: 1px solid var(--gray);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
}

.job-meta-large span {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.job-meta-large i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
}

/* Company Profile */
.company-profile {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.company-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    padding: 10px;
    background-color: white;
    border: 1px solid var(--gray);
    border-radius: 10px;
}

/* Admin Dashboard */
.admin-sidebar {
    background-color: var(--dark);
    color: white;
    height: 100%;
    min-height: 100vh;
    padding-top: 1.5rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
}

.admin-content {
    padding: 2rem;
}

.admin-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: white;
    box-shadow: var(--box-shadow);
}

.admin-card-header {
    padding: 1.25rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.admin-card-body {
    padding: 1.5rem;
}

.stat-card {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    background-color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.stat-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-right: 1rem;
}

.stat-card.primary .icon {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.stat-card.success .icon {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-card.warning .icon {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-card.danger .icon {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.stat-card .stat-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-card .stat-content p {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 0;
}

/* Login & Register */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--body-bg);
    padding: 2rem 0;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.auth-header {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-header h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-header p {
    opacity: 0.8;
    margin-bottom: 0;
}

.auth-body {
    padding: 2rem;
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

footer ul {
    margin-bottom: 2rem;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .profile-picture {
        width: 120px;
        height: 120px;
    }
    
    .category-card {
        margin-bottom: 1rem;
    }
    
    .employer-card {
        height: 90px;
    }
    
    .admin-sidebar {
        position: fixed;
        z-index: 1000;
        width: 260px;
        left: -260px;
        transition: left 0.3s ease;
    }
    
    .admin-sidebar.show {
        left: 0;
    }
    
    .admin-content {
        padding: 1.5rem;
    }
} 