﻿/* ============================================================
   JobSeek — Shared Dark Navy / Blue / Gold Theme
   Include this ONE file on every page instead of repeating
   <style> blocks. Reference in _Layout.cshtml:
   <link rel="stylesheet" href="~/css/site-theme.css" asp-append-version="true" />
   ============================================================ */

:root {
    --navy-950: #05070f;
    --navy-900: #0b1330;
    --navy-800: #101a3d;
    --blue-500: #3b6dff;
    --blue-700: #1a3aad;
    --gold-400: #f5c15c;
    --gold-600: #e08e2e;
    --slate-500: #4b5563;
    --slate-900: #111827;
    --text-muted-70: rgba(255, 255, 255, 0.65);
    --text-muted-85: rgba(255, 255, 255, 0.8);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-med: rgba(255, 255, 255, 0.12);
}

body {
    background: var(--navy-950);
}

/* ============ Ambient glow background ============ */
.theme-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 85%, var(--navy-900) 100%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--blue-500);
    top: -150px;
    left: -100px;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: var(--blue-700);
    bottom: -180px;
    right: -120px;
}

.glow-gold {
    background: var(--gold-400);
    opacity: 0.15;
}

/* ============ Text helpers ============ */
.text-light-50 {
    color: var(--text-muted-70) !important;
}

.text-light-70 {
    color: var(--text-muted-85) !important;
}

.text-gold {
    color: var(--gold-400) !important;
}

.stat-number {
    color: var(--gold-400);
}

/* ============ Eyebrow badge ============ */
.eyebrow-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cfd8ff;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

    .eyebrow-badge i {
        color: #6d8cff;
    }

.eyebrow-badge-gold {
    color: #ffd98a;
}

.eyebrow-badge-accent {
    color: #d1d5db;
}

    .eyebrow-badge-accent i {
        color: #9ca3af;
    }

/* ============ Glass card system (used everywhere) ============ */
.glass-card, .auth-card, .registration-card, .card {
    border-radius: 1.1rem !important;
    border: 1px solid var(--border-soft) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .glass-card:hover, .registration-card:hover {
        transform: translateY(-6px);
        border-color: rgba(109, 140, 255, 0.35);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    }

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border-soft) !important;
}

.card-footer {
    background: transparent !important;
    border-top: 1px solid var(--border-soft) !important;
}

.card-title {
    color: #fff !important;
}

.btn-tool {
    color: var(--text-muted-70) !important;
}

    .btn-tool:hover {
        color: #fff !important;
    }

/* ============ Icon circles ============ */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: auto;
}

.icon-circle-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    box-shadow: 0 0 25px rgba(43, 92, 255, 0.4);
}

.icon-circle-accent {
    background: linear-gradient(135deg, var(--slate-500), var(--slate-900));
    color: #fff;
    box-shadow: 0 0 25px rgba(75, 85, 99, 0.35);
}

.icon-blue {
    background: linear-gradient(135deg,#3b6dff,#1a3aad);
    box-shadow: 0 0 20px rgba(59,109,255,.35);
    color: #fff;
}

.icon-green {
    background: linear-gradient(135deg,#22c55e,#15803d);
    box-shadow: 0 0 20px rgba(34,197,94,.3);
    color: #fff;
}

.icon-gold {
    background: linear-gradient(135deg,#f5c15c,#e08e2e);
    box-shadow: 0 0 20px rgba(245,193,92,.3);
    color: #fff;
}

.icon-red {
    background: linear-gradient(135deg,#f87171,#b91c1c);
    box-shadow: 0 0 20px rgba(248,113,113,.3);
    color: #fff;
}

/* ============ Feature list bullets ============ */
.feature-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.feature-list i {
    color: #6d8cff;
}

/* ============ Dark form inputs (floating labels + plain) ============ */
.dark-input, .search-input, .search-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-med) !important;
    color: #fff !important;
}

    .dark-input:focus, .search-input:focus, .search-select:focus {
        background-color: rgba(255, 255, 255, 0.08) !important;
        border-color: var(--blue-500) !important;
        box-shadow: 0 0 0 0.2rem rgba(59, 109, 255, 0.25) !important;
        color: #fff !important;
    }

    .dark-input::placeholder, .search-input::placeholder {
        color: rgba(255, 255, 255, 0.45);
    }

.form-floating > label {
    color: rgba(255, 255, 255, 0.55);
}

.form-floating > .dark-input:focus ~ label,
.form-floating > .dark-input:not(:placeholder-shown) ~ label {
    color: #8ba4ff;
}

.dark-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(20, 28, 60, 0.9) inset !important;
    -webkit-text-fill-color: #fff !important;
}

.search-select option {
    background-color: var(--navy-800);
    color: #fff;
}

.input-group-text-dark {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-med);
    border-right: none;
    color: rgba(255, 255, 255, 0.55);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

    .form-check-input:checked {
        background-color: var(--blue-500);
        border-color: var(--blue-500);
    }

/* ============ Links ============ */
.login-link {
    color: #8ba4ff;
    text-decoration: none;
}

    .login-link:hover {
        color: #b6c6ff;
    }

/* ============ Buttons ============ */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: filter 0.2s ease, transform 0.2s ease;
}

    .btn-gradient-primary:hover {
        filter: brightness(1.15);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-gradient-accent {
    background: linear-gradient(135deg, var(--slate-500) 0%, var(--slate-900) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    transition: filter 0.2s ease, transform 0.2s ease;
}

    .btn-gradient-accent:hover {
        filter: brightness(1.3);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    border: none;
    color: #1a1200;
    font-weight: 700;
    transition: transform 0.2s ease, filter 0.2s ease;
}

    .btn-gold:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
        color: #1a1200;
    }

.btn-outline-glass, .btn-outline-light-glass {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .btn-outline-glass:hover, .btn-outline-light-glass:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-outline-danger-glass {
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #f87171;
    font-weight: 600;
    background: rgba(248, 113, 113, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

    .btn-outline-danger-glass:hover {
        background: rgba(248, 113, 113, 0.18);
        color: #fca5a5;
        transform: translateY(-2px);
    }

.btn-logout {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 20px;
    width: 100%;
    transition: 0.3s;
}

    .btn-logout:hover {
        background: rgba(255,255,255,0.15);
        color: #ffd166;
    }

/* ============ File input (dark) ============ */
.dark-file-input {
    cursor: pointer;
}

    .dark-file-input::file-selector-button {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid var(--border-med);
        color: #fff;
        padding: 6px 14px;
        border-radius: 6px;
        cursor: pointer;
        margin-right: 10px;
        transition: background 0.2s ease;
    }

        .dark-file-input::file-selector-button:hover {
            background: rgba(255, 255, 255, 0.16);
        }

/* ============ Badges (job cards, category cards) ============ */
.badge-soft-success {
    background: rgba(34,197,94,.15);
    color: #4ade80;
}

.badge-soft-light {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.75);
}

.badge-soft-info {
    background: rgba(59,130,246,.15);
    color: #7cb0ff;
}

/* ============ Divider ("or continue with") ============ */
.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

    .divider-text::before, .divider-text::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .divider-text span {
        padding: 0 0.75rem;
    }

/* ============ CTA banner section ============ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
    position: relative;
    overflow: hidden;
}

/* ============ Uniform stat cards (dashboard) ============ */
/* Same fill + outline color on every card. Only the icon and number
   are the visual differentiator; hover brightens the border/icon. */
.stat-card {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(245, 193, 92, 0.25);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .stat-card:hover {
        transform: translateY(-6px);
        border-color: rgba(245, 193, 92, 0.7);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 193, 92, 0.15);
    }

.stat-card-body {
    position: relative;
    padding: 1.25rem 1.5rem;
    min-height: 100px;
}

    .stat-card-body h3 {
        color: #fff;
        font-weight: 700;
        font-size: 2.1rem;
        margin: 0 0 0.25rem 0;
    }

    .stat-card-body p {
        color: rgba(255, 255, 255, 0.65);
        margin: 0;
        font-size: 0.95rem;
    }

.stat-card-icon {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    font-size: 2.25rem;
    line-height: 1;
    color: rgba(245, 193, 92, 0.25);
    transition: color 0.25s ease, transform 0.25s ease;
}

.stat-card:hover .stat-card-icon {
    color: var(--gold-400);
    transform: scale(1.1);
}

.stat-card-footer {
    display: block;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(245, 193, 92, 0.15);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 0.6rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

    .stat-card-footer:hover {
        background: rgba(245, 193, 92, 0.12);
        color: var(--gold-400);
    }

/* ============ Direct chat widget (AdminLTE dashboard) ============ */
.direct-chat-text {
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.85) !important;
}

.direct-chat-msg.end .direct-chat-text {
    background: linear-gradient(135deg,#3b6dff,#1a3aad) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.direct-chat-name {
    color: #fff !important;
}

.direct-chat-timestamp {
    color: rgba(255,255,255,.45) !important;
}

.direct-chat-contacts {
    background: var(--navy-900) !important;
}

.contacts-list-name {
    color: #fff !important;
}

.contacts-list-date {
    color: rgba(255,255,255,.4) !important;
}

.contacts-list-msg {
    color: rgba(255,255,255,.55) !important;
}

.direct-chat-messages {
    background: transparent !important;
}

.bg-primary.bg-gradient {
    background: linear-gradient(135deg, var(--navy-800), var(--blue-700)) !important;
}

.sparkline-label {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    margin-top: .25rem;
}

/* ============ Tables (dark) ============ */
/* Bootstrap 5 tables route cell color/background through CSS custom
   properties scoped to .table — overriding background alone can lose
   to AdminLTE's own variable value. Reset the variables directly. */
.table {
    --bs-table-bg: transparent !important;
    --bs-table-color: rgba(255, 255, 255, 0.85) !important;
    --bs-table-border-color: rgba(255, 255, 255, 0.08) !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03) !important;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05) !important;
    --bs-table-hover-color: #fff !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

    .table > :not(caption) > * > * {
        background-color: transparent !important;
        color: inherit !important;
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
    }

.table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.table-responsive,
.card-body:has(.table-responsive) {
    background: transparent !important;
}

/* ============ Disabled buttons/links (visible on dark bg) ============ */
.btn.disabled, .btn:disabled, a.btn.disabled {
    opacity: 0.35;
    color: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    pointer-events: none;
}

/* ============ Navbar ============ */
.navbar-theme {
    background: linear-gradient(90deg, var(--navy-950), var(--navy-900)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .navbar-theme .navbar-brand {
        color: var(--gold-400) !important;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .navbar-theme .nav-link {
        color: rgba(255, 255, 255, 0.75) !important;
        font-weight: 500;
        position: relative;
        margin: 0 0.35rem;
        transition: color 0.2s ease;
    }

        .navbar-theme .nav-link:hover,
        .navbar-theme .nav-link.active {
            color: #fff !important;
        }

            .navbar-theme .nav-link.active::after {
                content: "";
                position: absolute;
                left: 0.5rem;
                right: 0.5rem;
                bottom: -4px;
                height: 2px;
                background: var(--gold-400);
                border-radius: 2px;
            }

    .navbar-theme .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.25);
    }

    .navbar-theme .navbar-toggler-icon {
        filter: invert(1);
    }

    .navbar-theme .btn-navbar-cta {
        background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
        color: #1a1200;
        font-weight: 600;
        border: none;
        padding: 0.4rem 1.1rem;
        border-radius: 50px;
        transition: transform 0.2s ease, filter 0.2s ease;
    }

        .navbar-theme .btn-navbar-cta:hover {
            transform: translateY(-1px);
            filter: brightness(1.08);
            color: #1a1200;
        }

/* ============ Footer ============ */
.footer-theme {
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
}

    .footer-theme a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
    }

        .footer-theme a:hover {
            color: var(--gold-400);
        }

/* ============================================================
   AdminLTE Dashboard Chrome (topbar, sidebar, footer)
   ============================================================ */

/* ============ Main content wrapper ============ */
.main-content.theme-main {
    background: var(--navy-950);
    min-height: 100vh;
}

/* ============ AdminLTE Topbar (.app-header) ============ */
.app-header.navbar-theme {
    background: linear-gradient(90deg, var(--navy-950), var(--navy-900)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .app-header.navbar-theme .nav-link {
        color: rgba(255, 255, 255, 0.75) !important;
    }

        .app-header.navbar-theme .nav-link:hover {
            color: #fff !important;
        }

.app-header .dropdown-menu {
    background: var(--navy-900) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.app-header .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
}

    .app-header .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
    }

.app-header .dropdown-item-title {
    color: #fff !important;
}

.app-header .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.app-header .dropdown-header {
    color: rgba(255, 255, 255, 0.55) !important;
}

.user-header-theme {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
    color: #fff !important;
}

    .user-header-theme p {
        color: #fff !important;
    }

/* ============ AdminLTE Sidebar (.app-sidebar) ============ */
.app-sidebar.sidebar-theme {
    background: linear-gradient(180deg, #0d1638 0%, #0a1128 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
}

.sidebar-theme .sidebar-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-theme .brand-text {
    color: var(--gold-400) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sidebar-theme .brand-icon {
    color: var(--gold-400) !important;
    font-size: 1.3rem;
    margin-right: 0.5rem;
    vertical-align: -2px;
}

.sidebar-theme .nav-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    border-radius: 0.6rem;
    margin: 2px 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

    .sidebar-theme .nav-sidebar .nav-link:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
    }

    .sidebar-theme .nav-sidebar .nav-link.active {
        background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
        color: #fff !important;
        box-shadow: 0 0 20px rgba(59, 109, 255, 0.3);
    }

.sidebar-theme .nav-icon {
    color: inherit;
}

/* ============ AdminLTE Footer (.app-footer) ============ */
.app-footer.footer-theme {
    background: var(--navy-950) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    padding: 0.75rem 1.5rem;
}

    .app-footer.footer-theme a {
        color: var(--gold-400);
        text-decoration: none;
    }

        .app-footer.footer-theme a:hover {
            color: #ffd98a;
        }



.glass-card {
    transition: all .35s ease;
    cursor: pointer;
}

    .glass-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,.35);
    }

.dashboard-icon {
    transition: all .35s ease;
}

.glass-card:hover .dashboard-icon {
    transform: scale(1.25) rotate(10deg);
    filter: drop-shadow(0 0 15px currentColor);
}

/*==================================================
    JOB SEEKER FORM
==================================================*/

.hero-section {
    padding: 60px 0 35px;
    text-align: center;
}

    .hero-section h1 {
        color: #fff;
        font-size: 3.2rem;
        font-weight: 700;
        margin-top: 20px;
    }

    .hero-section p {
        color: var(--text-muted-70);
        font-size: 1.15rem;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 40px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-soft);
    color: #cfd8ff;
}

.jobseeker-page .glass-card {
    padding: 45px;
    border-radius: 24px;
    cursor: default;
}

    .jobseeker-page .glass-card:hover {
        transform: none;
    }

/* Labels */

.jobseeker-page .form-label {
    color: var(--gold-400);
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .6rem;
    letter-spacing: .5px;
}

/* Input Groups */

.custom-input .input-group-text {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-med);
    border-right: none;
    color: rgba(255,255,255,.7);
    width: 55px;
    justify-content: center;
}

.custom-input .form-control,
.custom-input .form-select {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-med);
    color: #fff;
    height: 56px;
}

    .custom-input .form-control::placeholder {
        color: rgba(255,255,255,.45);
    }

    .custom-input .form-control:focus,
    .custom-input .form-select:focus {
        background: rgba(255,255,255,.08);
        color: #fff;
        border-color: var(--blue-500);
        box-shadow: 0 0 0 .2rem rgba(59,109,255,.2);
    }

    /* Select */

    .custom-input .form-select option {
        background: var(--navy-900);
        color: #fff;
    }

/* File Upload */

.custom-file {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-med);
    color: #fff;
    border-radius: 14px;
    padding: 14px;
}

    .custom-file::file-selector-button {
        background: linear-gradient(135deg,var(--blue-500),var(--blue-700));
        color: #fff;
        border: none;
        padding: 10px 18px;
        border-radius: 8px;
        margin-right: 15px;
    }

        .custom-file::file-selector-button:hover {
            filter: brightness(1.1);
        }

/* Validation */

.jobseeker-page .text-danger {
    font-size: .85rem;
    margin-top: 6px;
}

/* Button */

.btn-primary-custom {
    background: linear-gradient(135deg,var(--blue-500),var(--blue-700));
    border: none;
    color: #fff;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: .3s;
}

    .btn-primary-custom:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(59,109,255,.35);
    }

/* Responsive */

@media (max-width:768px) {

    .hero-section h1 {
        font-size: 2.3rem;
    }

    .jobseeker-page .glass-card {
        padding: 25px;
    }

    .btn-primary-custom {
        width: 100%;
    }
}