:root {
    --primary: #1B2A4A;
    --primary-light: #2A3F6B;
    --primary-dark: #131F38;
    --accent: #C62828;
    --accent-hover: #A52222;
    --bg: #F5F8FB;
    --bg-light: #E8F0F8;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --text: #1E293B;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --success: #16A34A;
    --warning: #D97706;
    --danger: #DC2626;
    --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
    --shadow-md: 0 4px 6px rgba(27, 42, 74, 0.1);
    --shadow-lg: 0 10px 30px rgba(27, 42, 74, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-sm: 6px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    font-size: 1.7rem;
    color: var(--accent);
}

.logo-accent {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-link.active {
    color: var(--primary);
    background: var(--bg-light);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--primary);
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    overflow: hidden;
    z-index: 200;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.dropdown-item i {
    width: 20px;
    color: var(--primary);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.dropdown-item-danger {
    color: var(--danger);
}

.dropdown-item-danger i {
    color: var(--danger);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 24px;
    border: 2px solid transparent;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-light:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-ghost {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
}

.btn-ghost:hover {
    color: var(--accent);
}

.btn-icon {
    padding: 10px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #22417A 45%, #2E5492 100%);
    color: var(--white);
    padding: 80px 0 140px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(198,40,40,0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-badge i {
    color: #FFD54F;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
    color: #5C9EFF;
}

.hero-content > p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    color: var(--white);
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat span {
    font-size: 0.85rem;
    opacity: 0.75;
    color: var(--white);
}

/* Search */
.search-section {
    position: relative;
    z-index: 5;
    margin-top: -60px;
    margin-bottom: 60px;
}

.search-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.search-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-group input,
.search-group select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.92rem;
    background: var(--bg);
    transition: all 0.2s;
    width: 100%;
}

.search-group input:focus,
.search-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.popular-searches {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}

.popular-tag {
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.2s;
}

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

/* Sections */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-header h2 .highlight {
    color: var(--accent);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.02rem;
}

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

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 42, 74, 0.15);
}

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

.feature-icon i {
    font-size: 1.7rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* Category chips */
.categories-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.category-card img {
    width: 88px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}

.category-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
}

.category-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Jobs grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 42, 74, 0.2);
}

.job-card-company-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 1.3rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.job-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.job-card-body h3 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.job-company {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.job-tag {
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.job-tag-location {
    background: rgba(27, 42, 74, 0.06);
}

.job-tag-type {
    background: rgba(22, 163, 74, 0.08);
    color: var(--success);
}

.job-tag-salary {
    background: rgba(198, 40, 40, 0.07);
    color: var(--accent);
}

.job-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.job-time {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.posted-by-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Resumes / styled cover */
.gradient-text {
    background: linear-gradient(90deg, var(--accent), #E65100);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Auth pages */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 60px 24px;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 520px;
    padding: 44px;
    animation: fadeInUp 0.4s ease;
}

.auth-card-wide {
    max-width: 640px;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .auth-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.auth-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    background: var(--bg);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
}

.auth-links a:hover {
    color: var(--accent);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--danger);
}

.alert-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: var(--success);
}

.alert-info {
    background: var(--bg-light);
    border: 1px solid #BFDBFE;
    color: var(--primary);
}

.password-strength {
    height: 6px;
    background: var(--border);
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 10px;
    transition: all 0.3s;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.role-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    background: var(--white);
}

.role-option:hover {
    border-color: var(--primary);
}

.role-option.selected {
    border-color: var(--primary);
    background: var(--bg-light);
    box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.08);
}

.role-option i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.role-option strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.role-option p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

input[type="radio"] {
    display: none;
}

/* Page header */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 56px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Job detail */
.job-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin-bottom: 24px;
}

.job-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.job-detail-title h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.job-detail-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.job-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.meta-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.meta-item strong {
    display: block;
    font-size: 0.95rem;
}

.meta-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.job-detail-section h3 {
    margin-bottom: 14px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.job-detail-section p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.7;
}

.right-sidebar {
    position: sticky;
    top: 100px;
}

/* Profile */
.profile-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 56px 0;
    color: var(--white);
    position: relative;
    margin-bottom: 40px;
}

.profile-hero::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 300px;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.04));
}

.profile-hero .avatar-block {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    border: 4px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero h1 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.profile-hero p {
    color: rgba(255,255,255,0.85);
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    margin-top: -20px;
}

.profile-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    align-self: start;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.profile-section-card h3 {
    margin-bottom: 18px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-section-card h3 i {
    color: var(--accent);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid rgba(27, 42, 74, 0.1);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
}

.skill-chip-remove {
    margin-left: 6px;
    cursor: pointer;
    color: var(--accent);
    font-size: 0.8rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.92rem;
}

.info-row i {
    color: var(--primary);
    width: 18px;
    margin-top: 2px;
}

.info-row strong {
    display: block;
    color: var(--text);
}

.info-row span {
    color: var(--text-light);
    word-break: break-word;
}

/* Dashboard */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 40px 0;
}

.dashboard-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-light);
    transition: all 0.2s;
}

.dash-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.05rem;
}

.dash-nav-item:hover,
.dash-nav-item.active {
    background: var(--bg-light);
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-icon-blue {
    background: var(--bg-light);
    color: var(--primary);
}

.stat-icon-red {
    background: rgba(198, 40, 40, 0.08);
    color: var(--accent);
}

.stat-icon-green {
    background: rgba(22, 163, 74, 0.08);
    color: var(--success);
}

.stat-icon-orange {
    background: rgba(217, 119, 6, 0.08);
    color: var(--warning);
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
}

.stat-card span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Applications table */
.applications-table {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-responsive {
    overflow-x: auto;
}

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

.applications-table th {
    background: var(--bg);
    padding: 14px 20px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.applications-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
}

.applications-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.status-review {
    background: var(--bg-light);
    color: var(--primary);
}

.status-shortlisted {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
}

.status-rejected {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger);
}

.status-accepted {
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
}

/* Openings / resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.resource-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.resource-card .resource-category {
    display: inline-block;
    background: rgba(198, 40, 40, 0.07);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    align-self: flex-start;
}

.resource-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-light);
}

.resource-card h3 {
    font-size: 1.15rem;
}

.resource-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    flex: 1;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.resource-meta .read-more {
    color: var(--primary);
    font-weight: 600;
}

/* Message */
.message-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.message-item.unread {
    border-left: 4px solid var(--accent);
    background: var(--bg-light);
}

.message-content h4 {
    margin-bottom: 4px;
}

.message-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.message-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Upload area */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    background: var(--bg);
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.file-upload.dragging {
    border-color: var(--primary);
    background: var(--bg-light);
}

.file-upload i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.file-upload strong {
    display: block;
    margin-bottom: 4px;
}

.file-upload p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-upload input[type="file"] {
    display: none;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-top: 12px;
}

.uploaded-file i {
    color: var(--primary);
    font-size: 1.4rem;
}

.uploaded-file .file-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
}

.uploaded-file .file-size {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), #B71C1C);
    border-radius: var(--radius-lg);
    padding: 56px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 2;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-card i {
    font-size: 2rem;
    color: var(--primary);
    margin: 12px 0;
}

.step-card img.step-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto 14px;
    border-radius: var(--radius);
    display: block;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.88rem;
}

.step-card h4 {
    margin-bottom: 8px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.testimonial-card .quote-icon {
    color: var(--bg-light);
    font-size: 2rem;
    margin-bottom: 12px;
}

.testimonial-card > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.page-link:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    margin-top: 60px;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 16px;
}

.footer-logo {
    color: var(--white);
}

.footer-logo .logo-accent {
    color: var(--accent);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1rem;
}

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

.footer ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

.footer ul li a:hover {
    color: var(--white);
}

.footer ul li i {
    margin-right: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: all 0.25s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* Auth pages with image */
.auth-page {
    background: var(--bg);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    min-width: 320px;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.toast-success {
    border-color: var(--success);
}

.toast-error {
    border-color: var(--danger);
}

.toast-warning {
    border-color: var(--warning);
}

.toast .toast-title {
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

/* Filters */
.filter-bar {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.avatar-initials {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-grid .hero-content {
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-grid .hero-content > p {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 520px;
        margin: 0 auto;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
    }

    .nav.open {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions .btn-outline,
    .header-actions .btn-primary {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0 120px;
    }

    .hero-image {
        max-width: 420px;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .job-detail-card {
        padding: 24px;
    }

    .role-selector {
        grid-template-columns: 1fr;
    }

    .search-row {
        flex-direction: column;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat strong {
        font-size: 1.3rem;
    }
}