:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --border: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--dark);
    line-height: 1.6;
}

/* Login Page */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box h2 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.login-box p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 14px;
}

.login-box input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.login-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.login-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--light-gray);
}

.sidebar {
    width: 260px;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.sidebar-header p {
    color: var(--gray);
    font-size: 13px;
    margin-top: 4px;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 500;
}

.nav-item:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    color: var(--primary);
    border-right: 3px solid var(--primary);
}

.nav-item svg {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
}

.page-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.page-header-left {
    flex: 1;
}

.page-header-left h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.page-header-left p {
    color: var(--gray);
    font-size: 15px;
}

.page-header-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.header-actions {
    display: flex;
    gap: 12px;
    margin-top: 0;
    flex-wrap: wrap;
    align-items: center;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    gap: 16px;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-filter.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-filter.active:hover {
    background: var(--primary-dark);
}

.btn-filter svg {
    width: 16px;
    height: 16px;
}

.btn-filter .badge {
    background: var(--danger);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger svg {
    width: 16px;
    height: 16px;
}

.stats-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stats-card h3 {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stats-card p {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

/* Job Cards */
.job-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    width: 100%;
    overflow: hidden;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.job-card-content {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

.job-card-image {
    flex-shrink: 0;
    width: 220px;
    overflow: hidden;
    background: var(--light-gray);
}

.job-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-card-details {
    flex: 1;
    padding: 24px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.job-card h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.job-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
}

.job-meta span {
    display: flex;
    align-items: center;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-tags span {
    background: var(--light-gray);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.job-card-bottom-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.apply-btn {
    padding: 8px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: var(--success);
    color: var(--white);
}

.apply-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.job-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    align-items: center;
    justify-content: center;
}

.job-card-actions a {
    padding: 10px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 90px;
}

.job-card-actions a:not(:last-child) {
    margin-bottom: 30px;
}

.job-card-actions .edit-btn {
    background: var(--primary);
    color: var(--white);
}

.job-card-actions .edit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.job-card-actions .delete-btn {
    background: var(--danger);
    color: var(--white);
}

.job-card-actions .delete-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Buttons */
.btn, .edit-btn, .delete-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn {
    background: var(--primary);
    color: var(--white);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn.logout {
    background: var(--danger);
}

.btn.logout:hover {
    background: #dc2626;
}

.edit-btn {
    background: var(--primary);
    color: var(--white);
    flex: 1;
    text-align: center;
}

.edit-btn:hover {
    background: var(--primary-dark);
}

.delete-btn {
    background: var(--danger);
    color: var(--white);
    flex: 1;
    text-align: center;
}

.delete-btn:hover {
    background: #dc2626;
}

/* Forms */
.form-container {
    max-width: 700px;
}

.form-box {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-box textarea {
    min-height: 120px;
    resize: vertical;
}

/* Quill Rich Text Editor Styles */
#editor {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
}

.ql-toolbar.ql-snow {
    border: none;
    border-bottom: 2px solid var(--border);
    background: var(--light-gray);
    border-radius: 8px 8px 0 0;
    padding: 12px;
}

.ql-container.ql-snow {
    border: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
}

.ql-editor {
    min-height: 300px;
    padding: 16px;
}

.ql-editor.ql-blank::before {
    color: var(--gray);
    font-style: normal;
}

/* Quill toolbar button styling */
.ql-snow .ql-stroke {
    stroke: var(--dark);
}

.ql-snow .ql-fill {
    fill: var(--dark);
}

.ql-snow .ql-picker-label {
    color: var(--dark);
}

.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar button.ql-active {
    color: var(--primary);
}

.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--primary);
}

.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill {
    fill: var(--primary);
}

.form-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.form-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
}

/* Table */
.table-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.job-table {
    width: 100%;
    border-collapse: collapse;
}

.job-table thead {
    background: var(--light-gray);
}

.job-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-table td {
    padding: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.job-table tr:hover {
    background: var(--light-gray);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    margin: 30px auto;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    text-align: center;
}

.pagination-btn {
    padding: 10px 16px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    text-decoration: none;
}

.pagination-number {
    padding: 10px 16px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--border);
    min-width: 44px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
}

.pagination-number:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    text-decoration: none;
}

.pagination-number.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-number.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pagination-dots {
    padding: 10px 8px;
    color: var(--gray);
    font-weight: 600;
    display: inline-block;
}

/* Ensure no conflicting styles */
.pagination .pagination-btn,
.pagination .pagination-number {
    box-sizing: border-box;
    vertical-align: middle;
    line-height: 1.4;
}

.pagination .pagination-btn svg {
    flex-shrink: 0;
}

/* Pagination container centering */
#paginationContainer {
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.pagination-info-bottom {
    text-align: center;
    margin: 20px auto 0;
    font-size: 14px;
    color: var(--gray);
    width: 100%;
}

/* Remove any default link styles that might interfere */
.pagination a.pagination-btn,
.pagination a.pagination-number {
    color: var(--dark) !important;
    text-decoration: none !important;
}

.pagination a.pagination-btn:hover,
.pagination a.pagination-number:hover {
    color: var(--primary) !important;
    text-decoration: none !important;
}

.pagination a.pagination-number.active {
    color: var(--white) !important;
    text-decoration: none !important;
}

.pagination a.pagination-number.active:hover {
    color: var(--white) !important;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header-right {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .admin-info {
        align-self: flex-start;
        margin-right: 0;
    }
    
    .page-header-right .btn {
        width: 100%;
        text-align: center;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-left,
    .filter-right {
        width: 100%;
    }
    
    .btn-filter,
    .btn-danger {
        width: 100%;
        justify-content: center;
    }
    
    .job-cards {
        gap: 16px;
    }
    
    .job-card-content {
        flex-direction: column;
    }
    
    .job-card-image {
        width: 100%;
        height: 200px;
    }
    
    .job-card-details {
        padding: 16px;
    }
    
    .job-card h4 {
        font-size: 16px;
    }
    
    .job-card-actions {
        width: 100%;
        flex-direction: row;
        padding: 16px;
        gap: 8px;
    }
    
    .job-card-actions a:not(:last-child) {
        margin-bottom: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .login-box {
        padding: 30px 24px;
    }
}

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Public Pages Styles */
.public-body {
    background: var(--white);
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Public Header */
.public-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-outline {
    padding: 8px 16px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    color: #166534;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
}

.hero-avatars {
    margin-bottom: 24px;
}

.avatar-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}

.hero-rating {
    text-align: center;
}

.stars {
    font-size: 20px;
    margin-bottom: 8px;
}

.rating-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    box-shadow: var(--shadow-lg);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--gray);
    margin-left: 16px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px;
    font-size: 16px;
    font-family: inherit;
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Jobs Section */
.jobs-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

.pagination-info {
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-left {
    display: flex;
    gap: 16px;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--gray);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    text-decoration: none;
}

.filter-select {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

/* Job Listings */
.job-listings {
    display: grid;
    gap: 24px;
}

.job-listing-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.job-listing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.company-logo {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-info {
    flex: 1;
}

.job-title a {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.job-title a:hover {
    color: var(--primary);
}

.job-meta {
    margin-top: 8px;
}

.job-date {
    color: var(--gray);
    font-size: 14px;
}

.bookmark-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.bookmark-btn:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.bookmark-btn svg {
    width: 20px;
    height: 20px;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.tag-type {
    background: #dbeafe;
    color: #1e40af;
}

.tag-salary {
    background: #dcfce7;
    color: #166534;
}

.tag-experience {
    background: #fef3c7;
    color: #92400e;
}

.job-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.job-footer {
    display: flex;
    gap: 12px;
}

.btn-primary {
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-apply {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-apply:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* No Jobs State */
.no-jobs {
    text-align: center;
    padding: 60px 20px;
}

.no-jobs-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.no-jobs h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 12px;
}

.no-jobs p {
    color: var(--gray);
    font-size: 16px;
}

/* Job Details Page */
.job-details-section {
    padding: 40px 0 80px;
}

.back-navigation {
    margin-bottom: 32px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-dark);
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

.job-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.job-header-left {
    display: flex;
    gap: 24px;
    flex: 1;
}

.company-logo-large {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-title-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.job-meta-large {
    margin-bottom: 16px;
}

.job-tags-large {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.job-actions-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.bookmark-btn-large {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--gray);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.bookmark-btn-large:hover,
.bookmark-btn-large.bookmarked {
    border-color: var(--primary);
    color: var(--primary);
}

.bookmark-btn-large svg {
    width: 18px;
    height: 18px;
}

.btn-apply-large {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-apply-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.job-details-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

.job-description-section {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    line-height: 1.7;
}

.job-description-section h1,
.job-description-section h2,
.job-description-section h3 {
    color: var(--dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.job-description-section h1 {
    font-size: 28px;
}

.job-description-section h2 {
    font-size: 24px;
}

.job-description-section h3 {
    font-size: 20px;
}

.job-description-section p {
    margin-bottom: 16px;
    color: var(--gray);
}

.job-description-section ul,
.job-description-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.job-description-section li {
    margin-bottom: 8px;
    color: var(--gray);
}

.apply-section {
    margin-top: 48px;
}

.apply-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
}

.apply-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.apply-card p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.btn-apply-final {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-apply-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-apply-final svg {
    width: 18px;
    height: 18px;
}

.apply-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-info-card,
.share-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.job-info-card h3,
.share-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray);
    font-size: 14px;
}

.info-value {
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light-gray);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.share-btn:hover {
    background: var(--border);
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

/* Public Footer */
.public-footer {
    background: #2d3748;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-section h4.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #a0aec0;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 14px;
    margin: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: var(--transition);
    z-index: 200;
}
.hamburger:hover { background: var(--light-gray); }
.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
}
.mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.mobile-nav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-nav.open { display: block; }
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.mobile-nav-header h3 { color: var(--primary); font-size: 18px; font-weight: 700; margin: 0; }
.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    font-size: 22px;
    line-height: 1;
    padding: 4px;
}
.mobile-nav-links { display: flex; flex-direction: column; flex: 1; }
.mobile-nav-links a {
    padding: 14px 24px;
    color: var(--dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--primary); background: rgba(99,102,241,0.05); }
.mobile-nav-footer { padding: 20px 24px 0; }
.mobile-nav-footer a {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-nav-footer a:hover { background: var(--primary-dark); }

/* Responsive Design for Public Pages */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hamburger { display: flex; }

    .header-actions .btn-outline {
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .header-nav {
        display: none;
    }
    
    .search-box {
        flex-direction: row;
        gap: 0;
    }
    
    .search-input {
        padding: 12px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .filter-left {
        flex-wrap: wrap;
    }
    
    .job-details-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-header-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .job-actions-large {
        align-items: stretch;
    }
    
    .job-details-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Pagination Mobile Styles */
    .pagination {
        gap: 4px;
        margin: 20px auto;
        justify-content: center;
    }
    
    #paginationContainer {
        text-align: center;
        width: 100%;
    }
    
    .pagination-btn,
    .pagination-number {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 36px;
    }
    
    .pagination-btn {
        gap: 4px;
    }
    
    .pagination-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .pagination-dots {
        padding: 8px 4px;
        font-size: 13px;
    }
    
    .pagination-info-bottom {
        font-size: 13px;
        margin: 16px auto 0;
        text-align: center;
    }
    
    .pagination-info {
        font-size: 13px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px 24px 16px;
    text-align: center;
}

.error-icon {
    width: 64px;
    height: 64px;
    color: var(--danger);
    margin: 0 auto 16px;
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin: 0 auto 16px;
    display: block;
}

.modal-header h3 {
    font-size: 22px;
    color: var(--dark);
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 0 24px 24px;
    text-align: center;
}

.modal-body p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

.modal-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: -8px;
    margin-bottom: 16px;
}

.strength-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    background: var(--danger);
}

.strength-fill.medium {
    background: var(--warning);
}

.strength-fill.strong {
    background: var(--success);
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strength-text.weak {
    color: var(--danger);
}

.strength-text.medium {
    color: var(--warning);
}

.strength-text.strong {
    color: var(--success);
}

/* Password Requirements Info */
.password-requirements {
    background: var(--light-gray);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--gray);
}

.password-requirements h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 8px 0;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.password-requirements li {
    margin-bottom: 4px;
    line-height: 1.5;
}


/* Post Job Public Page */
.post-job-section {
    padding: 80px 0 120px;
    background: var(--white);
    min-height: 70vh;
}

.post-job-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.post-job-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.post-job-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section {
    margin-bottom: 80px;
}

.contact-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.contact-email-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.email-icon {
    width: 20px;
    height: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    text-align: center;
    padding: 0 10px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.feature-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Responsive Design for Post Job Page */
@media (max-width: 768px) {
    .post-job-title {
        font-size: 36px;
    }
    
    .post-job-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-email-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}
/* Company Name Display */
.company-logo .company-name-display {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 11px;
    text-align: center;
    line-height: 1.1;
    padding: 4px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.company-name-display .line1,
.company-name-display .line2 {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-name-display .line1 {
    margin-bottom: 1px;
}

.company-logo {
    position: relative;
}
/* Large Logo Fallback for Job Details */
.logo-fallback-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
}

.company-logo-large img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid var(--border);
}
/* Large Company Name Display for Job Details */
.company-logo-large .company-name-display-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    line-height: 1.1;
    padding: 8px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.company-name-display-large .line1,
.company-name-display-large .line2 {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-name-display-large .line1 {
    margin-bottom: 2px;
}

/* Admin Dashboard Company Name Display */
.job-card-image .company-name-display {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    line-height: 1.1;
    padding: 6px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.job-card-image .company-name-display .line1,
.job-card-image .company-name-display .line2 {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-card-image .company-name-display .line1 {
    margin-bottom: 1px;
}
/* Admin Dashboard Job Cards - Same Layout as Landing Page */
.admin-layout .job-listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-layout .job-listing-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.admin-layout .job-listing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Admin Dashboard Button Styles */
.btn-edit {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-edit:hover {
    background: var(--primary-dark);
}

.btn-delete {
    background: var(--danger);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-delete:hover {
    background: #dc2626;
}

.admin-layout .btn-apply {
    background: var(--success);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.admin-layout .btn-apply:hover {
    background: #059669;
}

.admin-layout .job-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

/* Ensure admin job titles are clickable and styled */
.admin-layout .job-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.admin-layout .job-title a:hover {
    color: var(--primary);
}
/* About Page Styles */
.about-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

/* Our Story Section */
.our-story {
    padding: 100px 0;
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.story-text p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.story-highlights {
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.highlight-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.highlight-text p {
    font-size: 16px;
    color: var(--gray);
    margin: 0;
}

.story-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    max-width: 300px;
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.visual-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.visual-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

/* What We Offer Section */
.what-we-offer {
    padding: 100px 0;
    background: var(--light-gray);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.offer-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.offer-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.offer-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.offer-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.offer-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.offer-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.offer-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 14px;
    color: var(--gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 24px;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Values Section */
.our-values {
    padding: 100px 0;
    background: var(--white);
}

.values-header {
    text-align: center;
    margin-bottom: 80px;
}

.values-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.values-header p {
    font-size: 18px;
    color: var(--gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
}

.value-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    background: var(--light-gray);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.value-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.value-item p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* About CTA Section */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    background: var(--light-gray);
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-title {
        font-size: 40px;
    }
    
    .about-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-text h2 {
        font-size: 32px;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 200px;
    }
}
/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Section */
.contact-methods {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.contact-btn svg {
    width: 18px;
    height: 18px;
}

.response-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.time-badge {
    background: var(--success);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.time-text {
    font-size: 14px;
    color: var(--gray);
}

/* Help Topics Section */
.help-topics {
    padding: 80px 0;
    background: var(--light-gray);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.help-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.help-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.help-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.help-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.help-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.help-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
}

.commitment-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.commitment-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.commitment-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.commitment-cta {
    margin-top: 40px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary-large:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary-large svg {
    width: 20px;
    height: 20px;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-title {
        font-size: 40px;
    }
    
    .contact-subtitle {
        font-size: 18px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .commitment-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .commitment-content h2 {
        font-size: 32px;
    }
    
    .commitment-content p {
        font-size: 16px;
    }
    
    .btn-primary-large {
        padding: 14px 28px;
        font-size: 16px;
    }
}
/* Legal Pages Styles */
.legal-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.legal-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.legal-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    box-shadow: var(--shadow);
}

/* Legal Content Section */
.legal-content {
    padding: 80px 0;
    background: var(--white);
}

.legal-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
}

.legal-document {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.legal-section p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.legal-list li {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.legal-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Privacy Policy Specific Styles */
.privacy-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
}

.highlight-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.highlight-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* Legal Navigation Sidebar */
.legal-navigation {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.legal-navigation h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.nav-list li {
    margin-bottom: 12px;
}

.nav-list a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.nav-list a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.legal-cta {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    text-align: center;
}

.legal-cta p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.legal-cta .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
}

/* Legal Pages Responsive Design */
@media (max-width: 768px) {
    .legal-title {
        font-size: 40px;
    }
    
    .legal-subtitle {
        font-size: 16px;
    }
    
    .legal-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .legal-document {
        padding: 24px;
    }
    
    .legal-section h2 {
        font-size: 24px;
    }
    
    .legal-section p,
    .legal-list li {
        font-size: 15px;
    }
    
    .privacy-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .legal-navigation {
        position: static;
        margin-top: 40px;
    }
    
    .last-updated {
        padding: 10px 16px;
        font-size: 13px;
    }
}
/* Advanced Filter Bar Styles */
.advanced-filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.quick-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.filter-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.filter-icon {
    color: var(--gray);
    flex-shrink: 0;
}

.advanced-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.filter-select {
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-select:hover {
    border-color: var(--primary);
}

.filter-actions {
    display: flex;
    align-items: end;
    justify-content: center;
}

.clear-filters-btn {
    padding: 10px 20px;
    background: var(--white);
    color: var(--gray);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.clear-filters-btn:hover {
    background: var(--light-gray);
    border-color: var(--gray);
    color: var(--dark);
}

.clear-filters-btn:active {
    transform: translateY(1px);
}

/* Filter Button Enhancements */
.filter-btn {
    padding: 10px 16px;
    background: var(--white);
    color: var(--gray);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    text-decoration: none;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    text-decoration: none;
}

.filter-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    text-decoration: none;
}

/* Responsive Design for Advanced Filters */
@media (max-width: 768px) {
    .advanced-filter-bar {
        padding: 16px;
    }
    
    .advanced-filters {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-actions {
        grid-column: 1;
        margin-top: 16px;
    }
    
    .clear-filters-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Login Message Styles */
.login-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.login-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.login-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Remember Me Checkbox Styles */
.remember-me {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
    user-select: none;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    display: inline-block;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Session Timeout Warning */
.session-warning {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fef3c7;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #fbbf24;
    box-shadow: var(--shadow);
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.session-warning.show {
    display: block;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Admin Header Session Info */
.session-info {
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.session-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.admin-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
}

.admin-status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.admin-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.session-timeout {
    color: var(--warning);
    font-weight: 500;
}

/* ── Standard Android fix (360×800 and similar small screens) ── */
@media screen and (max-width: 768px) {
    /* Kill the sidebar completely — hide it off-screen */

    
    .sidebar {
        display: none !important;
    }

    /* Remove the sidebar margin so content fills full width */
    .main-content {
        margin-left: 0 !important;
        padding: 14px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Kill the purple body gradient on admin pages */
    body.admin-page {
        background: #f3f4f6 !important;
        overflow-x: hidden !important;
    }

    /* Admin layout must not overflow */
    .admin-layout {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        min-height: 100vh !important;
    }

    /* Stats grid — single column, full width */
    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .stats-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px !important;
    }

    /* Page header stacks vertically */
    .page-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .page-header-left h2 {
        font-size: 22px !important;
    }

    .page-header-right {
        width: 100% !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .page-header-right .btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Filter section */
    .filter-section {
        flex-direction: column !important;
        padding: 12px !important;
        gap: 8px !important;
    }

    .filter-left,
    .filter-right {
        width: 100% !important;
    }

    .btn-filter,
    .btn-danger {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Job cards */
    .job-listing-card {
        padding: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .job-footer {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .job-footer a {
        flex: 1 !important;
        text-align: center !important;
        min-width: 70px !important;
    }

    /* Table scrolls horizontally */
    .table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Search box fix for Android */
    .search-container {
        width: 100% !important;
        padding: 0 !important;
    }

    .search-box {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 4px !important;
        overflow: hidden !important;
    }

    .search-icon {
        flex-shrink: 0 !important;
        margin-left: 10px !important;
    }

    .search-input {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 10px 8px !important;
        font-size: 14px !important;
    }

    .search-btn {
        flex-shrink: 0 !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }
}

/* ── Mobile Hamburger Menu (visible on mobile/tablet ≤768px) ── */
.mobile-nav-bar {
    display: none;
}

@media screen and (max-width: 768px) {
    /* Top bar with hamburger + logo */
    .mobile-nav-bar {
        display: flex !important;
        align-items: center;
    .page-header-right {
        width: 100% !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .admin-info {
        align-self: flex-start !important;
        margin-right: 0 !important;
    }   box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 500;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-hamburger {
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--dark);
        border-radius: 6px;
        flex-shrink: 0;
    }

    .mobile-hamburger:hover {
        background: var(--light-gray);
    }

    .mobile-logo {
        font-size: 17px;
        font-weight: 700;
        color: var(--primary);
    }

    /* Overlay behind open sidebar */
    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 600;
    }

    .mobile-sidebar-overlay.open {
        display: block;
    }

    /* Sidebar slides in from left */
    .sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 700 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.25s ease !important;
        width: 260px !important;
    }

    .sidebar.mobile-open {
        transform: translateX(0) !important;
    }
}


/* ── Standard Android fix (360x800) ── */
@media screen and (max-width: 768px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 14px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    body.admin-page {
        background: #f3f4f6 !important;
        overflow-x: hidden !important;
    }

    .admin-layout {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .stats-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px !important;
    }

    .page-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .page-header-left h2 {
        font-size: 22px !important;
    }

    .page-header-right {
        width: 100% !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .page-header-right .btn {
        width: 100% !important;
        text-align: center !important;
    }

    .filter-section {
        flex-direction: column !important;
        padding: 12px !important;
        gap: 8px !important;
    }

    .filter-left, .filter-right {
        width: 100% !important;
    }

    .btn-filter, .btn-danger {
        width: 100% !important;
        justify-content: center !important;
    }

    .job-listing-card {
        padding: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .job-footer {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .job-footer a {
        flex: 1 !important;
        text-align: center !important;
        min-width: 70px !important;
    }

    .table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Show mobile nav bar ONLY on small screens */
    .mobile-nav-bar {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 0 14px;
        height: 52px;
        background: var(--white);
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 500;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-hamburger {
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--dark);
        border-radius: 6px;
        flex-shrink: 0;
    }

    .mobile-logo {
        font-size: 17px;
        font-weight: 700;
        color: var(--primary);
    }

    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 600;
    }

    .mobile-sidebar-overlay.open {
        display: block;
    }

    .sidebar.mobile-open {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 700 !important;
        transform: translateX(0) !important;
        transition: transform 0.25s ease !important;
        width: 260px !important;
    }
}

/* Hide mobile nav bar on tablet and desktop — always */
.mobile-nav-bar {
    display: none !important;
}

/* Override: show it only on mobile/tablet ≤768px */
@media screen and (max-width: 768px) {
    .mobile-nav-bar {
        display: flex !important;
    }
}

/* ── Floating Social Icons ── */
.social-float {
    position: fixed;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.social-float-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-float-btn svg {
    width: 22px;
    height: 22px;
}

.social-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.social-float-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-float-telegram {
    background: #229ED9;
}

@media (max-width: 400px) {
    .social-float {
        right: 12px;
        gap: 10px;
    }

    .social-float-btn {
        width: 40px;
        height: 40px;
    }

    .social-float-btn svg {
        width: 19px;
        height: 19px;
    }
}

/* ── Job Disclaimer ── */
.job-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.6;
}

.job-disclaimer svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #f59e0b;
}

.job-disclaimer p {
    margin: 0;
}

.job-disclaimer a {
    color: #b45309;
    font-weight: 600;
    text-decoration: underline;
}

.job-disclaimer a:hover {
    color: #92400e;
}
