/* =============================================
   EuropeJobs10 — Light Modern 2026 Stylesheet
   Mobile-first, clean & realistic
   ============================================= */

:root {
    --color-bg: #f8fafc;
    --color-bg-alt: #ffffff;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-accent: #0ea5e9;
    --color-success: #059669;
    --color-error: #dc2626;
    --color-danger: #dc2626;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 58, 138, 0.55) 50%, rgba(15, 23, 42, 0.65) 100%);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(20px);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---- Cards ---- */
.glass-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--color-surface-hover);
    border-color: #cbd5e1;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-danger {
    background: var(--color-danger);
    color: #fff;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-full {
    width: 100%;
}

/* ---- Alerts ---- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* ---- Header / Navbar ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .nav-links a {
    color: var(--color-text-muted);
}

.site-header.scrolled .nav-links a:hover {
    color: var(--color-primary);
}

.site-header.scrolled .nav-toggle span {
    background: var(--color-text);
}

.site-header:not(.scrolled) .logo {
    background: linear-gradient(135deg, #fff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.site-header:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.site-header:not(.scrolled) .nav-links a:hover {
    color: #fff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    font-size: 1.375rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.site-header.scrolled .nav-toggle span {
    background: var(--color-text);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    list-style: none;
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.nav-links.open {
    display: flex;
}

.nav-links a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-login {
    padding: 0.625rem 1.5rem !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--radius-md);
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-login:hover {
    opacity: 0.92;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        padding: 0;
        gap: 2rem;
        inset: auto;
        box-shadow: none;
    }

    .nav-links a {
        font-size: 0.9375rem;
    }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    animation: heroZoom 24s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to   { transform: scale(1.06); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
    max-width: 820px;
    color: #fff;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #bae6fd;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1.1rem;
    border: 1px solid rgba(186, 230, 253, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50%      { opacity: 1; transform: scaleY(1); }
}

/* ---- Sections ---- */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.9rem;
    background: #eff6ff;
    border-radius: 999px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ---- About ---- */
.about-section {
    background: var(--color-bg-alt);
}

.about-card {
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-card > p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: 2rem;
    text-align: center;
}

.about-features {
    display: grid;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}

.about-feature:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
}

.about-feature strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
    color: var(--color-text);
}

.about-feature span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@media (min-width: 640px) {
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- Salaries Section ---- */
.salaries-section {
    background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 45%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.salaries-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag--hot {
    background: linear-gradient(135deg, #2563eb, #059669);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.benefits-banner {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: 0 8px 28px rgba(5, 150, 105, 0.28);
    animation: benefitGlow 3s ease-in-out infinite;
}

.benefit-pill:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes benefitGlow {
    0%, 100% { box-shadow: 0 8px 28px rgba(5, 150, 105, 0.28); }
    50%      { box-shadow: 0 12px 36px rgba(5, 150, 105, 0.42); }
}

.benefit-pill-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.benefit-pill strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.benefit-pill span {
    font-size: 0.875rem;
    opacity: 0.92;
}

.salary-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.salary-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.salary-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.salary-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #bfdbfe;
}

.salary-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.salary-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.salary-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    background: #eff6ff;
    color: var(--color-primary);
    border-radius: 999px;
}

.salary-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    min-height: 2.7em;
}

.salary-amount {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.salary-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.salary-note {
    font-size: 0.8125rem;
    color: #059669;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.salary-cta {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: #eff6ff;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.salary-cta:hover {
    background: var(--gradient-primary);
    color: #fff;
}

@media (min-width: 640px) {
    .benefits-banner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- Map Section ---- */
.map-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, #eef2ff 100%);
}

.map-layout {
    display: grid;
    gap: 2rem;
}

.map-container {
    padding: 1rem;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.map-visual {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 16 / 10;
}

.map-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
}

/* Blinking pulse markers on active countries */
.map-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.9);
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    animation: mapPulse 2.2s ease-in-out infinite;
    transition: transform 0.25s ease;
}

.map-pulse.active {
    transform: translate(-50%, -50%) scale(1.35);
    background: rgba(37, 99, 235, 1);
    z-index: 3;
}

.map-pulse::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.5);
    animation: mapRing 2s ease-out infinite;
}

.map-pulse::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #fff;
}

@keyframes mapPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); opacity: 0.9; }
    50%      { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); opacity: 1; }
}

@keyframes mapRing {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.map-pulse--croatia       { left: 47%; top: 57%; animation-delay: 0s; }
.map-pulse--serbia        { left: 54%; top: 61%; animation-delay: 0.5s; }
.map-pulse--montenegro    { left: 51%; top: 64%; animation-delay: 1s; }
.map-pulse--macedonia     { left: 55%; top: 67%; animation-delay: 1.5s; }
.map-pulse--bulgaria      { left: 59%; top: 66%; animation-delay: 2s; }

.map-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0 0.5rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: mapPulse 2s ease-in-out infinite;
}

.map-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}

.map-sidebar h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.professions-title {
    margin-top: 2rem !important;
}

.country-jobs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.country-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.country-job-item:hover,
.country-job-item.active {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateX(4px);
}

.country-job-item .country-flag {
    font-size: 1.25rem;
    margin-right: 0.6rem;
}

.country-job-left {
    display: flex;
    align-items: center;
}

.country-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.country-count {
    font-size: 0.8125rem;
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
}

.profession-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profession-tags li {
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.profession-tags li:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--color-primary);
}

@media (min-width: 992px) {
    .map-layout {
        grid-template-columns: 1.35fr 0.65fr;
        align-items: start;
    }
}

@media (max-width: 540px) {
    .map-pulse {
        width: 14px;
        height: 14px;
    }
}

/* ---- Apply Form ---- */
.apply-section {
    background: var(--color-bg-alt);
}

.apply-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem;
}

.form-row {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group label span {
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #fff;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- Footer ---- */
.site-footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 0;
}

.site-footer .logo {
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    margin-top: 1rem;
    max-width: 320px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #93c5fd;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.footer-bottom {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ---- Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: linear-gradient(180deg, #eff6ff 0%, var(--color-bg) 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.auth-logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.375rem;
    color: var(--color-text);
}

.auth-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-back {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.auth-back a {
    color: var(--color-text-muted);
}

.auth-back a:hover {
    color: var(--color-primary);
}

.delete-card {
    max-width: 460px;
}

.delete-preview {
    text-align: center;
    padding: 1.25rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

.delete-preview strong {
    display: block;
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

.delete-preview span {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.delete-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ---- Dashboard ---- */
.dashboard-page {
    min-height: 100vh;
    background: var(--color-bg);
}

.dash-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.dash-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dash-brand a {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.625rem;
    background: #eff6ff;
    color: var(--color-primary);
    border-radius: 999px;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.dash-main {
    padding: 2rem 1.25rem 4rem;
}

.dash-stats {
    margin-bottom: 1.5rem;
}

.stat-card {
    padding: 1.5rem 2rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.375rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-filtered {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.dash-filters {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.filters-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.filters-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dash-table-wrap {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.table-scroll {
    overflow-x: auto;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.dash-table th,
.dash-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}

.dash-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    background: var(--color-bg);
    white-space: nowrap;
}

.dash-table tbody tr {
    transition: background var(--transition);
}

.dash-table tbody tr:hover {
    background: #f8fafc;
}

.dash-table td a {
    color: var(--color-primary);
}

.dash-table td a:hover {
    text-decoration: underline;
}

.empty-row {
    text-align: center !important;
    color: var(--color-text-muted);
    padding: 3rem !important;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 1.25rem;
    border-top: 1px solid var(--color-border-light);
    background: var(--color-bg);
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    background: #fff;
    transition: all var(--transition);
}

.page-link:hover:not(.active) {
    background: var(--color-surface-hover);
    color: var(--color-text);
    border-color: #cbd5e1;
}

.page-link.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

@media (min-width: 640px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .filters-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-table thead {
        display: none;
    }

    .dash-table tbody tr {
        display: block;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--color-border-light);
    }

    .dash-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        gap: 1rem;
    }

    .dash-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--color-text-muted);
        flex-shrink: 0;
    }

    .dash-table tbody td[data-label="Actions"] {
        justify-content: flex-end;
        padding-top: 0.75rem;
    }

    .dash-table tbody td[data-label="Actions"]::before {
        display: none;
    }

    .dash-user span {
        display: none;
    }
}
