/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}
/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 40px; /* Adjust as needed */
    width: auto;
}

/* For responsive design */
@media (max-width: 768px) {
    .logo-image {
        height: 30px;
    }
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo i {
    margin-right: 10px;
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}



/* Job Listings */
.job-listings {
    padding: 60px 0;
}

.filters {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.filter-dropdowns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-dropdowns select {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.job-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.department-badge {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.job-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-meta i {
    margin-right: 5px;
}

.job-card-body {
    padding: 20px;
}

.job-card-body p {
    margin-bottom: 15px;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
    font-weight: 500;
}

.job-card-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.no-jobs {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px 20px;
}

.no-jobs i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-jobs h3 {
    margin-bottom: 10px;
}

/* Job Details */
.job-details {
    padding: 60px 0;
}

.job-header {
    margin-bottom: 40px;
}

.job-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.job-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.job-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.job-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.job-content > div {
    margin-bottom: 30px;
}

.job-footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-footer small {
    color: var(--text-light);
}

/* Application Form */
.application-form {
    padding: 60px 0;
}

.application-header {
    margin-bottom: 30px;
}

.application-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.application-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-upload-label:hover {
    background-color: #dfe6e9;
}

.form-submit {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* Auth Pages */
.auth-page {
    padding: 80px 0;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
}

.auth-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-switch a {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Thank You Page */
.thank-you-page {
    padding: 80px 0;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.checkmark i {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.thank-you-container h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thank-you-container p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.application-details {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    text-align: left;
}

.application-details h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.application-details ul {
    list-style: none;
}

.application-details li {
    margin-bottom: 8px;
}

.application-details strong {
    color: var(--primary-color);
}

.next-steps {
    text-align: left;
    margin: 30px 0;
}

.next-steps h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.next-steps ol {
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 10px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-section i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .filter-dropdowns select {
        min-width: 100%;
    }

    .job-meta {
        flex-direction: column;
        gap: 5px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Application Status Styles */
.application-status,
.application-status-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    gap: 6px;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.application-status {
    background: #f1f5f9;
    color: var(--text-color);
    cursor: default;
}

.application-status-link {
    color: var(--white);
    cursor: pointer;
}

.application-status-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Status Colors */
.status-pending { background: var(--warning-color); }
.status-reviewed { background: var(--info-color); }
.status-interview { background: var(--success-color); }
.status-rejected { background: var(--error-color); }
.status-hired { background: var(--success-color); }
.status-dropped { background: var(--secondary-color); }

/* Hover effects for status links */
.status-pending:hover { background: #eab308; }
.status-reviewed:hover { background: #2563eb; }
.status-interview:hover { background: #059669; }
.status-rejected:hover { background: #dc2626; }
.status-hired:hover { background: #059669; }
.status-dropped:hover { background: #475569; }
}