/* ============================================================
   Mutu Career Center — Design System
   app-custom.css — dipakai oleh layouts/app.blade.php & layouts/guest.blade.php
   Diload setelah resources/css/app.css (via Vite/Tailwind)
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Brand color scale */
    --color-primary-50: #EFF6FF;
    --color-primary-100: #DBEAFE;
    --color-primary-200: #BFDBFE;
    --color-primary-300: #93C5FD;
    --color-primary-400: #60A5FA;
    --color-primary-500: #3B82F6;
    --color-primary-600: #2563EB;
    --color-primary-700: #1D4ED8;
    --color-primary-800: #1E40AF;
    --color-primary-900: #1E3A8A;
    --color-primary: var(--color-primary-600);
    --color-primary-dark: var(--color-primary-700);
    --color-primary-light: var(--color-primary-50);

    /* Navy scale */
    --navy: #071733;
    --navy-2: #0b2454;
    --navy-3: #173d91;

    /* ── Alias pendek (kompatibel dengan welcome.css & semua role) ── */
    --primary: var(--color-primary-600);
    /* #2563eb */
    --primary-dark: var(--color-primary-700);
    /* #1d4ed8 */
    --primary-light: var(--color-primary-50);
    /* #eff6ff */
    --text: var(--color-heading);
    /* #0f172a */
    --text-2: var(--color-body);
    /* #475569 */
    --text-3: var(--color-muted);
    /* #94a3b8 */
    --white: #ffffff;
    --bg: var(--color-surface);
    /* #ffffff */
    --bg-soft: var(--color-background);
    /* #f8fafc */
    --border: var(--color-border);
    /* #e2e8f0 */

    /* Semantic colors */
    --color-success: #22C55E;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-info: #0EA5E9;

    /* Surface & text */
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F1F5F9;
    --color-heading: #0F172A;
    --color-subheading: #334155;
    --color-body: #475569;
    --color-muted: #94A3B8;
    --color-border: #E2E8F0;
    --color-text: #0F172A;
    --color-text-muted: #475569;
    --color-glass: rgba(255, 255, 255, 0.12);
    --color-glass-border: rgba(255, 255, 255, 0.18);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1rem;
    --radius-pill: 9999px;

    /* Single source of vertical offset for the fixed navbar (matches sidebar top-16). */
    --navbar-h: 4rem;

    /* Shadows */
    --shadow-subtle: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.15);
    --shadow-card: 0 10px 20px rgba(15, 23, 42, 0.08);
    --shadow-elevated: 0 20px 50px rgba(15, 23, 42, 0.12);

    /* Transition */
    --transition: 300ms ease;
}

/* ============================================================
   2. GLOBAL BASE
   ============================================================ */
body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-body);
    background-color: var(--color-background);
}

/* ============================================================
   3. PAGE STRUCTURE
   ============================================================ */

.page-shell {
    /* min-height: pilih seluruh sisa viewport di bawah navbar */
    min-height: calc(100vh - var(--navbar-h));
    background-color: var(--color-background);
}

/* Specificity dinaikkan (main.main-content) agar offset navbar fixed
   tidak bisa tertimpa aturan generik lain — semua halaman butuh ini. */
main.main-content {
    padding-top: calc(var(--navbar-h) + env(safe-area-inset-top, 0px));
    min-width: 0;
}

.mobile-sidebar-drawer {
    z-index: 60;
}

.ui-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ui-table-wrap>table {
    min-width: 42rem;
}

@media (max-width: 639px) {
    .ui-table-wrap>table {
        min-width: 36rem;
    }
}

.page-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .page-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .page-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .page-container {
        max-width: 88rem;
    }
}

.page-section {
    padding-top: 0;
    padding-bottom: 2rem;
}

.admin-primary-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.admin-primary-stats>.ui-stat-card {
    min-width: 0;
}

.admin-primary-stats>.ui-stat-card:nth-child(1),
.admin-primary-stats>.ui-stat-card:nth-child(2) {
    grid-column: 1;
}

@media (min-width: 768px) {
    .admin-primary-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-primary-stats>.ui-stat-card:nth-child(1),
    .admin-primary-stats>.ui-stat-card:nth-child(2) {
        grid-row: 1;
    }

    .admin-primary-stats>.ui-stat-card:nth-child(1) {
        grid-column: 1;
    }

    .admin-primary-stats>.ui-stat-card:nth-child(2) {
        grid-column: 2;
    }
}

.jobs-search-hero {
    position: relative;
    overflow: hidden;
    padding: 1.1rem 0 1.25rem;
    background: #0a1633;
}

.jobs-search-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.20) 0%, transparent 40%),
        radial-gradient(circle at 70% 110%, rgba(6, 182, 212, 0.10) 0%, transparent 45%);
}

.jobs-search-hero>.page-container {
    position: relative;
    z-index: 1;
}

@media (max-width: 639px) {
    .jobs-search-hero {
        padding-top: 1rem;
        padding-bottom: 1.1rem;
    }
}

/* ============================================================
   4. PAGE HERO (digunakan oleh komponen ui/page-hero.blade.php)
   ============================================================ */

/* Header halaman dalam layout app.blade.php — navy ala footer */
.app-page-header {
    background: #0a1633;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(7, 23, 51, 0.25);
    min-height: 90px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Shared page-level banner treatment — UKURAN DISAMAKAN dengan page-banner
   via token --banner-* (lihat resources/css/page-banner.css). */
.app-page-header,
.dashboard-hero {
    position: relative;
    overflow: hidden;
    min-height: 110px;
    margin-bottom: 1.25rem;
    background: #0a1633;
    border-radius: var(--banner-radius, var(--radius-lg));
    box-shadow: 0 8px 32px rgba(16, 42, 114, 0.12), 0 2px 8px rgba(7, 23, 51, 0.08);
}

/* Catatan: .page-banner diatur penuh oleh resources/css/page-banner.css (navy ala footer) agar tidak tertimpa. */

.app-page-header::before,
.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.20) 0%, transparent 40%),
        radial-gradient(circle at 70% 110%, rgba(6, 182, 212, 0.10) 0%, transparent 45%);
}

.app-page-header .page-container {
    position: relative;
    z-index: 1;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

.app-page-header h2,
.dashboard-hero h1 {
    color: #ffffff;
    font-size: var(--banner-title-desktop, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.app-page-header p,
.dashboard-hero p {
    color: rgba(255, 255, 255, 0.85);
}

.dashboard-hero {
    margin-bottom: 2rem;
}

.dashboard-hero>div {
    position: relative;
    z-index: 1;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

/* Aturan dots dashboard-hero PINDAH ke resources/css/page-banner.css
   (bundle Vite berversi) agar tidak terjebak cache browser. */

@media (max-width: 1024px) {

    .app-page-header h2,
    .dashboard-hero h1 {
        font-size: var(--banner-title-tablet, 2rem);
    }
}

@media (max-width: 768px) {

    .app-page-header,
    .dashboard-hero,
    .page-banner {
        min-height: var(--banner-min-h, 180px);
        margin-bottom: 1.5rem;
    }

    .app-page-header .page-container,
    .dashboard-hero>div {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .app-page-header h2,
    .dashboard-hero h1 {
        font-size: var(--banner-title-mobile, 1.75rem);
    }
}

/* Dekorasi titik kanan ala footer */
.app-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.20) 0%, transparent 40%),
        radial-gradient(circle at 70% 110%, rgba(6, 182, 212, 0.10) 0%, transparent 45%);
    pointer-events: none;
}

.app-page-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
}

.app-page-header .page-container {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Old page-hero CSS removed - now using page-banner.css design system */

/* ============================================================
   5. ALERTS
   ============================================================ */
.ui-alert {
    border-radius: var(--radius-md);
    border-left-width: 4px;
    padding: 1.25rem;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-subtle);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ui-alert-red {
    background-color: #fef2f2;
    border-left-color: var(--color-danger);
    color: #991b1b;
}

.ui-alert-green {
    background-color: #f0fdf4;
    border-left-color: var(--color-success);
    color: #166534;
}

.ui-alert-yellow {
    background-color: #fefce8;
    border-left-color: var(--color-warning);
    color: #92400e;
}

.ui-alert-info {
    background-color: #eff6ff;
    border-left-color: var(--color-info);
    color: #0c4a6e;
}

.ui-alert-success {
    background-color: #f0fdf4;
    border-left-color: var(--color-success);
    color: #166534;
}

.ui-alert-error {
    background-color: #fef2f2;
    border-left-color: var(--color-danger);
    color: #991b1b;
}

.ui-alert-warning {
    background-color: #fefce8;
    border-left-color: var(--color-warning);
    color: #92400e;
}

.ui-alert-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.ui-alert-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.ui-alert-link {
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================================
   6. SVG ICON HELPERS
   ============================================================ */
.ui-svg-icon {
    width: 1rem;
    height: 1rem;
}

.ui-svg-icon-sm {
    width: 0.75rem;
    height: 0.75rem;
}

.ui-svg-icon-lg {
    width: 2.5rem;
    height: 2.5rem;
}

.inline-rich-img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    display: block;
}

/* ============================================================
   7. PROGRESS BAR
   ============================================================ */
.ui-progress {
    width: 100%;
    background: #e2e8f0;
    border-radius: 9999px;
    height: 0.625rem;
    overflow: hidden;
}

.ui-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transition: width 0.4s ease;
}

/* ============================================================
   8. MISC UTILITIES
   ============================================================ */
.ui-panel-center {
    grid-column: 1 / -1;
    text-align: center;
}

.ui-hero-pulse-delay-1 {
    animation-delay: 1s;
}

.ui-hidden {
    display: none !important;
}

.ui-decorative-bg {
    position: absolute;
}

.ui-notification-badge {
    width: 0.9rem;
    height: 0.9rem;
    background: #dc2626;
    color: #fff;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    border: 2px solid #fff;
}

/* ============================================================
   9. CARD COMPONENTS
   ============================================================ */

/* Main UI card — used in dashboard panels */
.ui-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.ui-card:hover {
    box-shadow: var(--shadow-elevated);
}

/* Generic .card — used by Blade components/card.blade.php */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}

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

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-full {
    padding: 1.5rem;
}

@media (max-width: 768px) {

    .card-header,
    .card-content,
    .card-full,
    .ui-panel-body {
        padding: 1.25rem;
    }
}

/* ============================================================
   10. PANEL COMPONENT
   ============================================================ */
.ui-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.ui-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.ui-panel-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0;
}

.ui-panel-subtitle {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-body);
}

.ui-panel-body {
    padding: 1.5rem;
}

/* ============================================================
   11. STAT CARDS
   ============================================================ */

/*
   .ui-stat-card — used in dashboard/admin.blade.php, dashboard/umum.blade.php, etc.
   Two definitions were merged: first had display:flex+justify-between (used in component view),
   second had padding:1.25rem 1.5rem (used in table-adjacent context).
   Merged keeping both behaviors — flex layout + refined padding.
*/
.ui-stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow-subtle);
    transition: box-shadow var(--transition), transform var(--transition);
}

.ui-stat-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-1px);
}

.ui-stat-card-label {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin: 0;
}

.ui-stat-card-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-heading);
    margin: 0.25rem 0 0;
}

.ui-stat-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* CV preview follows the same portrait ratio as the generated A4 PDF. */
.preview-sheet {
    width: 100%;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
}

.preview-modern {
    font-size: 0.7rem;
}

.preview-modern .preview-hero {
    padding: 1rem;
    background: #1f4f8a;
    color: #ffffff;
}

.preview-modern .preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-modern .preview-avatar {
    display: flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #2c5c94;
    font-weight: 700;
}

.preview-modern .preview-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.preview-modern .preview-headline {
    margin: 0.15rem 0 0;
    color: #dbe7f5;
    font-size: 0.65rem;
}

.preview-modern .preview-pill,
.preview-modern .preview-skill {
    display: inline-block;
    border-radius: 0.4rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.55rem;
}

.preview-modern .preview-pill {
    margin-top: 0.6rem;
    background: #2c5c94;
    color: #ffffff;
}

.preview-modern .preview-section-title {
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #dbe7f5;
    padding-bottom: 0.2rem;
    color: #163b66;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.preview-modern .preview-section-body {
    color: #475569;
    font-size: 0.62rem;
    line-height: 1.45;
}

.preview-modern .preview-skill {
    margin: 0 0.2rem 0.2rem 0;
    background: #eff6ff;
    color: #1d4ed8;
}

/* ============================================================
   12. EMPTY STATE
   ============================================================ */
.ui-empty-state {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.ui-empty-state-icon {
    width: 4.5rem;
    height: 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-primary-600);
    margin-bottom: 1rem;
}

.ui-empty-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 0.75rem;
}

.ui-empty-state-text {
    color: var(--color-body);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 42rem;
}

/* ============================================================
   13. DASHBOARD DECORATIVE ELEMENTS
   (digunakan di dashboard/umum.blade.php, dashboard/admin.blade.php)
   ============================================================ */
.hero-bg {
    background: radial-gradient(circle at 10% 40%, rgba(59, 130, 246, 0.10) 0%, transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(14, 165, 233, 0.06) 0%, transparent 28%);
}

.hero-greeting.show {
    opacity: 1;
    transform: translateY(0);
}

/* Floating circles & particles — dashboard hero decoration */
.hero-circle,
.hero-particle {
    position: absolute;
    border-radius: 9999px;
    animation: float-pulse 12s ease-in-out infinite;
}

.hero-circle-1 {
    left: -4rem;
    top: 20%;
    width: 16rem;
    height: 16rem;
    background: rgba(96, 165, 250, 0.22);
}

.hero-circle-2 {
    right: -6rem;
    top: 10%;
    width: 12rem;
    height: 12rem;
    background: rgba(34, 211, 238, 0.12);
    animation-duration: 14s;
}

.hero-circle-3 {
    left: 20%;
    bottom: -6rem;
    width: 20rem;
    height: 20rem;
    background: rgba(59, 130, 246, 0.12);
    animation-duration: 18s;
}

.hero-particle-1,
.hero-particle-2,
.hero-particle-3 {
    width: 0.85rem;
    height: 0.85rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.hero-particle-1 {
    top: 35%;
    left: 18%;
    animation-duration: 8s;
}

.hero-particle-2 {
    top: 18%;
    right: 22%;
    animation-duration: 10s;
}

.hero-particle-3 {
    bottom: 24%;
    right: 18%;
    animation-duration: 9s;
}

/* ============================================================
   14. DASHBOARD CARDS (decorative variants)
   ============================================================ */
.dashboard-card {
    border: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-small);
}

.dashboard-card-hero {
    background: var(--color-surface);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.dashboard-card-soft {
    background: #eff6ff;
    border-color: #dbeafe;
}

.dashboard-card-accent {
    background: var(--color-background);
    border-color: var(--color-border);
}

.dashboard-card-graph {
    background: var(--color-primary-light);
    border-color: var(--color-primary-100);
}

.dashboard-pill {
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-label {
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Dashboard bar chart */
.dashboard-bar {
    display: inline-block;
    width: 28px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #2563eb 0%, #22c55e 100%);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.16);
}

/* Dashboard progress ring */
.dashboard-progress-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: conic-gradient(#2563eb calc(var(--progress) * 1%), #dbeafe calc(var(--progress) * 1%));
}

.dashboard-progress-ring::before {
    content: '';
    position: absolute;
    inset: 14%;
    border-radius: 9999px;
    background: #ffffff;
}

/* ============================================================
   15. HERO INFO BAR (app dashboard hero section)
   ============================================================ */
.hero-info-bar:hover .hero-info-scroll,
.hero-info-bar:focus-within .hero-info-scroll {
    animation-play-state: paused;
}

.hero-info-bar {
    padding: 0.5rem;
}

@media (max-width: 479px) {
    .hero-info-bar {
        padding: 0.5rem;
    }
}

/* hero info pill — app dashboard */
.hero-info-pill {
    display: inline-flex;
    padding: 0.85rem 1.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .hero-info-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .hero-info-bar .hero-info-scroll {
        gap: 0.6rem;
    }
}

/* ============================================================
   16. ILLUSTRATION AREA (app dashboard hero)
   ============================================================ */
.hero-illustration-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1023px) {
    .hero-illustration-wrap {
        max-width: 420px;
    }
}

@media (min-width: 1024px) {
    .hero-illustration-wrap {
        margin-right: 1.5rem;
    }
}

/* FIXED: was broken — .stat-icon-v2 svg was nested inside .hero-illustration {} */
.hero-illustration {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.stat-icon-v2 svg {
    width: 32px;
    height: 32px;
}

.hero-illustration img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

.hero-illustration-card img {
    height: 240px;
}

@media (max-width: 420px) {
    .hero-illustration-card img {
        height: 200px !important;
    }
}

/* Floating decorative shapes */
.hero-deco-circle {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.6;
}

.hero-deco-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.6;
}

/* ============================================================
   17. LOGO MARQUEE (app dashboard trusted companies strip)
   ============================================================ */
.logo-marquee-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-marquee-wrapper:hover .logo-marquee-track,
.logo-marquee-wrapper:focus-within .logo-marquee-track {
    animation-play-state: paused;
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: marquee-left 28s linear infinite;
    flex: 0 0 auto;
}

.logo-marquee-static {
    animation: none !important;
}

.logo-marquee-row+.logo-marquee-row {
    margin-top: 1rem;
}

/* Logo sizing */
.logo-marquee-track img {
    display: inline-block;
    height: 56px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
}

.logo-marquee-track img.partner-small {
    height: 51px;
    padding: 10px 12px;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .logo-marquee-track {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .logo-marquee-track img {
        min-width: 120px;
        max-width: 120px;
    }
}

@media (max-width: 420px) {
    .logo-marquee-track {
        gap: 8px;
    }
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9rem;
    padding: 1rem 1.4rem;
    border-radius: 9999px;
    background: #eff6ff;
    color: var(--navy-3);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Trusted companies marquee */
.trusted-marquee-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.06);
}

.trusted-marquee-track {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 28px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
    --accent-color: transparent;
}

.trusted-marquee-card:hover .trusted-marquee-track {
    animation-play-state: paused;
}

@media (max-width: 1023px) {
    .trusted-marquee-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.trusted-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 64px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.trusted-logo img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   18. TIMELINE (app-custom version — used in dashboard views)
   NOTE: .timeline-step in welcome.blade.php uses welcome.css styling,
         not this definition. welcome.blade.php does NOT load app-custom.css.
   ============================================================ */
.timeline-line {
    width: 2px;
    background: rgba(148, 163, 184, 0.2);
}

.timeline-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #eff6ff;
    color: var(--navy-3);
    font-weight: 700;
}

/* ============================================================
   19. FADE REVEAL ANIMATION (app pages)
   ============================================================ */
.fade-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s ease, opacity 0.8s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.fade-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   20. HOME MARQUEE (dashboard job marquee)
   ============================================================ */
.home-marquee {
    position: relative;
    overflow: hidden;
}

.home-marquee-track {
    display: flex;
    gap: 1rem;
    width: fit-content;
    animation: marquee-slide 32s linear infinite;
    will-change: transform;
}

.home-marquee:hover .home-marquee-track,
.home-marquee:focus-within .home-marquee-track {
    animation-play-state: paused;
}

.home-marquee-group {
    display: flex;
    gap: 1rem;
}

.home-marquee-card {
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 auto;
    padding: 1.25rem;
    border-radius: 1.75rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.home-marquee-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

@media (max-width: 1023px) {
    .home-marquee-card {
        min-width: 220px;
        max-width: 220px;
    }
}

@media (max-width: 640px) {

    .home-marquee-track,
    .home-marquee-group {
        gap: 0.75rem;
    }

    .home-marquee-card {
        min-width: 200px;
        max-width: 200px;
        padding: 1rem;
        border-radius: 1.5rem;
    }

    .hero-illustration-card {
        padding: 1.25rem;
    }
}

/* ============================================================
   21. CTA BANNER (app-internal pages, NOT welcome page)
   ============================================================ */
.cta-banner {
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    color: #fff;
}

.cta-banner .cta-actions {
    max-width: 60%;
}

.cta-banner .cta-illust img {
    max-height: 140px;
}

.cta-banner-v2 {
    display: none;
}

/* old variant, hidden */

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner .cta-actions {
        max-width: 100%;
    }
}

/* ============================================================
   22. HOW-IT-WORKS STEPS (HIW — app dashboard)
   ============================================================ */
/* .hiw-steps-grid — NOT used in any blade currently.
   Keeping for potential future use in dashboard. */
.hiw-steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0 2rem;
}

.hiw-steps-grid::-webkit-scrollbar {
    height: 4px;
}

.hiw-steps-grid::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 999px;
}

.hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 130px;
    flex-shrink: 0;
}

.hiw-step-icon-wrap {
    position: relative;
    display: inline-flex;
}

.hiw-step-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.hiw-step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-step:hover .hiw-step-circle {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
}

.hiw-connector {
    width: 60px;
    height: 2px;
    border-top: 2px dashed #cbd5e1;
    margin-top: 40px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hiw-connector {
        width: 30px;
    }

    .hiw-step {
        min-width: 100px;
    }

    .hiw-step-circle {
        width: 64px;
        height: 64px;
    }

    .hiw-step-circle svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hiw-connector {
        width: 16px;
    }

    .hiw-step {
        min-width: 80px;
    }

    .hiw-step-circle {
        width: 52px;
        height: 52px;
    }
}

/* ============================================================
   23. HOW-IT-WORKS (older style — step numbers)
   ============================================================ */
.how-step-number {
    height: 80px;
    width: 80px;
    font-size: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.how-step-number.primary {
    background: #e0f2fe;
    color: #0369a1;
}

.how-step-number.success {
    background: #ecfdf5;
    color: #059669;
}

.how-step-number.accent {
    background: #ecfeff;
    color: #0891b2;
}

.how-card {
    padding: 2.25rem;
    border-radius: 1.75rem;
}

/* ============================================================
   24. STEPS TIMELINE (used in some dashboard pages)
   ============================================================ */
.stats-band {
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.stats-band .stat {
    flex: 1;
    min-width: 160px;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0;
}

.steps-wrapper::-webkit-scrollbar {
    height: 6px;
}

.steps-wrapper::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
}

.step .dot {
    height: 56px;
    width: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-weight: 800;
    font-size: 1.125rem;
}

.step-connector {
    height: 4px;
    width: 120px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.12));
    border-radius: 999px;
    align-self: center;
}

@media (max-width: 768px) {
    .steps-wrapper .step-connector {
        width: 80px;
    }
}

@media (max-width: 640px) {
    .step-connector {
        width: 64px;
    }

    .steps-wrapper {
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .step {
        min-width: 100px;
    }
}

/* ============================================================
   25. STATISTICS — V2 (hidden — superseded by blue-banner in welcome)
   ============================================================ */
.stats-bar-v2 {
    display: none;
}

.stat-item-v2 {
    display: none;
}

/* ============================================================
   26. JOB CARDS CAROUSEL (app pages — jobs/index, dashboard)
   ============================================================ */
.job-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0.5rem 0;
    flex: 1;
}

.job-carousel-track::-webkit-scrollbar {
    display: none;
}

.job-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
}

.job-carousel-btn:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.job-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.job-carousel-prev {
    left: -18px;
}

.job-carousel-next {
    right: -18px;
}

.job-card-v2 {
    min-width: 260px;
    max-width: 280px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.job-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    border-color: #3b82f6;
}

.job-initial-v2 {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.job-tag-v2 {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .job-card-v2 {
        min-width: 220px;
    }
}

@media (max-width: 640px) {
    .job-carousel-btn {
        display: none;
    }

    .job-card-v2 {
        min-width: 240px;
    }
}

/* Company initials / avatar used in job cards */
.job-initials {
    height: 56px;
    width: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--color-primary-dark);
    font-weight: 800;
    font-size: 1rem;
}

@media (max-width: 420px) {
    .job-initials {
        height: 48px;
        width: 48px;
        font-size: 0.95rem;
    }
}

/* Jobs card border-radius polish */
.group.rounded-\[1\.75rem\] {
    border-radius: 1.25rem;
}

/* ============================================================
   27. FEATURE CARD (app pages — NOT welcome.blade.php)
   NOTE: welcome.blade.php uses .feature-card from welcome.css
   ============================================================ */
.feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.04);
}

.feature-card .icon {
    height: 56px;
    width: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.08), rgba(37, 99, 235, 0.04));
    color: var(--color-primary-dark);
}

/* Feature card v2 — app dashboard version */
.feature-card-v2 {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.feature-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    border-color: #3b82f6;
}

.feature-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .feature-card-v2 {
        padding: 1rem;
        min-height: 150px;
    }

    .feature-icon-circle {
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   28. TYPOGRAPHY HELPERS
   ============================================================ */

/*
   .page-title — merged from 3 definitions:
   - Line 1119: font-size:2rem, color:--color-heading (shorthand, old)
   - Line 1682: font-size:1.875rem, color:--color-text, letter-spacing (detailed, newer)
   - Line 1862: font-size:1.5rem inside @media max-width:768px (responsive)
   Resolution: Use the newer detailed definition as base, keep responsive override.
*/
.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }

    .ui-page-hero-title,
    .hero h1 {
        font-size: 1.75rem;
    }

    nav .max-w-7xl {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.page-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-top: 0.375rem;
}

/*
   .section-title — used in sidebar-menu, cv/builder, cv/templates, welcome
   welcome.blade.php loads welcome.css, so this targets app pages.
*/
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.ui-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.ui-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #334155;
}

/* ============================================================
   29. BUTTONS
   ============================================================ */

/* Primary ui-btn system */
.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.ui-btn-hover:hover,
.ui-btn-hover:focus-visible {
    transform: translateY(-1px);
}

.ui-btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.825rem;
}

.ui-btn-md {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.ui-btn-lg {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
}

.ui-btn-xl {
    padding: 1.1rem 1.75rem;
    font-size: 1.05rem;
}

.ui-btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-700) 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.ui-btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
    box-shadow: var(--shadow-subtle);
}

.ui-btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: transparent;
}

.ui-btn-danger {
    background: var(--color-danger);
    color: #fff;
    border-color: transparent;
}

.ui-btn-success {
    background: var(--color-success);
    color: #fff;
    border-color: transparent;
}

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

.ui-btn-white {
    background: #ffffff;
    color: var(--color-primary-700);
    border-color: var(--color-border);
    box-shadow: var(--shadow-subtle);
}

.ui-stat-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--stat-border, var(--border));
    border-top: 3px solid var(--stat-accent, var(--primary));
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.375rem;
    box-shadow: var(--shadow-subtle);
    transition: box-shadow var(--transition), transform var(--transition);
    overflow: hidden;
}

.ui-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Kartu statistik mode kolom (dashboard-stat-card & kartu lamaran):
   isi harus full-width. Tanpa ini, align-items:center dari definisi lama
   membuat konten menumpuk di tengah + divider pendek (rusak di mobile). */
.ui-stat-card.flex-col {
    align-items: stretch;
}

/* HP (<768px): footer compact — brand full-row, link 2 kolom, padding rapat */
@media (max-width: 767px) {
    .app-footer-body {
        padding-top: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .app-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1rem;
    }

    .app-footer-brand {
        grid-column: 1 / -1;
    }

    .app-footer-brand>p {
        display: none;
    }

    .app-footer-grid h4 {
        margin-bottom: 0.5rem;
        font-size: 0.8125rem;
    }

    .app-footer-tagline {
        grid-column: 1 / -1;
    }

    .app-footer-tagline p {
        font-size: 1rem;
    }

    .app-footer-tagline p br {
        display: none;
    }

    .app-footer-copy {
        margin-top: 1.25rem;
    }
}

/* HP (<640px): kartu statistik dashboard pelamar jadi 2 kolom compact —
   padding, ikon, dan angka dikecilkan agar muat berdampingan. */
@media (max-width: 639px) {
    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card {
        padding: 0.875rem 1rem;
        border-radius: 1rem;
    }

    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card>.flex-1 {
        gap: 0.5rem;
    }

    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card .h-11.w-11 {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 0.625rem;
    }

    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card .h-11.w-11 svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card p.text-3xl {
        font-size: 1.5rem;
    }

    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card>.mt-4 {
        margin-top: 0.625rem;
        padding-top: 0.625rem;
    }
}

.ui-stat-card-blue,
.ui-stat-card-indigo {
    --stat-border: #bfdbfe;
    --stat-accent: #3b82f6;
}

.ui-stat-card-green {
    --stat-border: #bbf7d0;
    --stat-accent: #22c55e;
}

.ui-stat-card-purple {
    --stat-border: #bfdbfe;
    --stat-accent: #3b82f6;
}

.ui-stat-card-yellow {
    --stat-border: #fde68a;
    --stat-accent: #eab308;
}

.ui-stat-card-red {
    --stat-border: #fecaca;
    --stat-accent: #ef4444;
}

.ui-stat-card-orange {
    --stat-border: #fde68a;
    --stat-accent: #d97706;
}

.ui-stat-card-slate {
    --stat-border: #e2e8f0;
    --stat-accent: #64748b;
}

.ui-stat-card-gray {
    --stat-border: #e5e7eb;
    --stat-accent: #9ca3af;
}

.ui-stat-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.875rem;
}

.ui-stat-card__content {
    min-width: 0;
    flex: 1;
}

.ui-stat-card__label {
    margin: 0 0 0.5rem;
    color: var(--text-3);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ui-stat-card__value {
    margin: 0;
    line-height: 1;
    font-size: 1.875rem;
    font-weight: 800;
}

.ui-stat-card__value-blue,
.ui-stat-card__value-indigo {
    color: #173d91;
}

.ui-stat-card__value-green {
    color: #166534;
}

.ui-stat-card__value-purple {
    color: #173d91;
}

.ui-stat-card__value-yellow {
    color: #854d0e;
}

.ui-stat-card__value-red {
    color: #991b1b;
}

.ui-stat-card__value-orange {
    color: #9a3412;
}

.ui-stat-card__value-slate {
    color: #1e293b;
}

.ui-stat-card__value-gray {
    color: #111827;
}

.ui-stat-card__subtitle,
.ui-stat-card__footer {
    margin: 0.375rem 0 0;
    color: var(--text-3);
    font-size: 0.75rem;
}

.ui-stat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.875rem;
    height: 2.875rem;
    flex-shrink: 0;
    border: 1px solid var(--stat-border, var(--border));
    border-radius: var(--radius-md);
    background: var(--stat-icon-bg, var(--primary-light));
    color: var(--stat-icon-color, var(--primary));
}

.ui-stat-card__icon-blue,
.ui-stat-card__icon-indigo {
    --stat-icon-bg: #eff6ff;
    --stat-icon-color: #2563eb;
}

.ui-stat-card__icon-green {
    --stat-icon-bg: #f0fdf4;
    --stat-icon-color: #16a34a;
}

.ui-stat-card__icon-purple {
    --stat-icon-bg: #eff6ff;
    --stat-icon-color: #2563eb;
}

.ui-stat-card__icon-yellow {
    --stat-icon-bg: #fefce8;
    --stat-icon-color: #ca8a04;
}

.ui-stat-card__icon-red {
    --stat-icon-bg: #fef2f2;
    --stat-icon-color: #dc2626;
}

.ui-stat-card__icon-orange {
    --stat-icon-bg: #fffbeb;
    --stat-icon-color: #b45309;
}

.ui-stat-card__icon-slate {
    --stat-icon-bg: #f8fafc;
    --stat-icon-color: #475569;
}

.ui-stat-card__icon-gray {
    --stat-icon-bg: #f9fafb;
    --stat-icon-color: #6b7280;
}

.dashboard-user-page .bg-gradient-to-br.from-violet-50,
.dashboard-user-page .bg-gradient-to-r.from-violet-50 {
    background-image: none;
    background-color: var(--color-surface-alt);
    border-color: var(--color-border);
}

.dashboard-user-page .bg-violet-600,
.dashboard-user-page .bg-violet-100 {
    background-color: var(--primary);
}

.dashboard-user-page .text-violet-800,
.dashboard-user-page .text-violet-700,
.dashboard-user-page .text-violet-600,
.dashboard-user-page .text-violet-400 {
    color: var(--primary-dark);
}

.dashboard-user-page .dashboard-panel-header>div>div {
    min-width: 0;
}

.dashboard-user-page .dashboard-panel-header h3 {
    line-height: 1.25;
}

.dashboard-user-page .dashboard-content-panel {
    box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
    .dashboard-user-page .dashboard-stats-grid {
        display: flex;
        flex-wrap: nowrap;
    }

    .dashboard-user-page .dashboard-stats-grid>.ui-stat-card {
        flex: 1 1 0;
        min-width: 0;
    }
}

.company-dashboard-page {
    background: var(--color-background);
}

.company-dashboard-page .premium-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
}

.company-dashboard-page .premium-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
}

.company-dashboard-page .company-dashboard-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.company-publish-callout {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--primary-light);
    border: 1px solid var(--color-primary-200);
    border-radius: var(--radius-md);
}

.company-publish-callout>div:first-child {
    display: none;
}

.job-form-panel {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary);
}

.job-form-panel-secondary {
    border-top-color: #0891b2;
}

.job-form-panel .ui-panel-header {
    position: relative;
    /* !important: menang atas padding !important form global agar badge angka tidak menumpuk judul */
    padding-left: 4.75rem !important;
    background: linear-gradient(90deg, var(--primary-light), var(--color-surface));
}

/* Badge angka menggantikan accent-bar judul di dalam panel form lowongan */
.job-form-panel .ui-panel-title::before {
    display: none;
}

.job-form-panel-secondary .ui-panel-header {
    background: linear-gradient(90deg, #ecfeff, var(--color-surface));
}

.job-form-section-icon {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.22);
}

.job-form-panel-secondary .job-form-section-icon {
    background: #0891b2;
    box-shadow: 0 5px 12px rgba(8, 145, 178, 0.22);
}

.job-form-panel .ui-panel-title {
    font-size: 1.125rem;
}

.job-form-panel .ui-panel-body {
    background: var(--color-surface);
}

.job-form-notice {
    align-self: stretch;
    display: flex;
    align-items: center;
    line-height: 1.55;
}

.job-form-actions {
    padding: 1rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

@media (max-width: 639px) {
    .job-form-panel .ui-panel-header {
        padding-left: 4.25rem !important;
    }

    .job-form-section-icon {
        left: 1rem;
    }
}

.profile-document-box {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.profile-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--text-2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.company-profile-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.section-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--text-2);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.625rem 1rem;
    color: var(--text);
    background: var(--color-surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.file-upload-area {
    padding: 1.25rem;
    background: var(--bg-soft);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition), background-color var(--transition);
}

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

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-verified {
    background: #dcfce7;
    color: #065f46;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.badge-not_submitted {
    background: var(--bg-soft);
    color: var(--text-2);
}

/* Legacy .btn-primary alias — used in auth pages and navigation */
.btn-primary,
.ui-btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: #374151;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Hero CTA (app hero sections) */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.18);
}

.hero-cta.secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary-100);
}

/* ============================================================
   30. FORM ELEMENTS — Premium Design System (global, semua form)
   ============================================================ */
.ui-label,
.form-label,
label.ui-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.4rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    line-height: 1.4;
}

.ui-label svg,
.form-label svg {
    width: 0.875rem;
    height: 0.875rem;
    color: #94a3b8;
    flex-shrink: 0;
}

.ui-label .text-red-500,
.ui-label .text-red-600 {
    color: #ef4444;
    margin-left: 1px;
}

.ui-input,
.ui-select,
.ui-textarea,
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #0f172a;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.ui-input::placeholder,
.ui-textarea::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.ui-input:hover,
.ui-select:hover,
.ui-textarea:hover,
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #cbd5e1;
}

.ui-input:focus,
.ui-select:focus,
.ui-textarea:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
    background-color: #ffffff;
}

.ui-input:disabled,
.ui-select:disabled,
.ui-textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8fafc;
}

.ui-select,
.form-select {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem 1.25rem;
}

.ui-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
}

.ui-textarea,
.form-textarea,
textarea.ui-input {
    min-height: 96px;
    resize: vertical;
    line-height: 1.6;
    padding-top: 0.7rem;
}

.ui-input[type="file"] {
    padding: 0.35rem 0.5rem;
    cursor: pointer;
}

.ui-input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    border: 0;
    border-radius: 0.5rem;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
}

/* Error state */
.ui-input.is-error,
.ui-input--error,
.ui-select.is-error,
.ui-textarea.is-error,
.form-input.is-error,
.has-error .ui-input,
.has-error .ui-select,
.has-error .ui-textarea,
.ui-input[aria-invalid="true"],
.ui-select[aria-invalid="true"],
.ui-textarea[aria-invalid="true"] {
    border-color: #fca5a5;
    background-color: #fef2f2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.ui-input.is-error:focus,
.ui-textarea.is-error:focus,
.ui-select.is-error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.ui-error,
.field-error,
.form-error {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin-top: 0.4rem;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: #dc2626;
}

.ui-error svg,
.field-error svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

div:has(> .ui-error)>.ui-input,
div:has(> .ui-error)>.ui-select,
div:has(> .ui-error)>.ui-textarea {
    border-color: #fca5a5;
    background-color: #fef2f2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

/* Form group card */
.form-group,
.ui-form-group,
.form-section-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
}

.form-group-title,
.ui-form-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.875rem;
}

.form-group-title::before,
.ui-form-group-title::before {
    content: '';
    width: 4px;
    height: 14px;
    border-radius: 9999px;
    background: #2563eb;
    flex-shrink: 0;
}

.form-hint,
.ui-hint {
    margin-top: 0.35rem;
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Button polish */
.ui-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28), 0 1px 2px rgba(15, 23, 42, 0.06) !important;
    font-weight: 700 !important;
    transition: transform 180ms ease, box-shadow 180ms ease !important;
}

.ui-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.32) !important;
}

.ui-btn-primary:active {
    transform: translateY(0);
}

.ui-btn-secondary {
    border-radius: 0.75rem !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    font-weight: 600 !important;
}

.ui-btn-secondary:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

.page-section input[type="text"].rounded-xl,
.page-section input[type="email"].rounded-xl,
.page-section input[type="password"].rounded-xl,
.page-section input[type="number"].rounded-xl,
.page-section input[type="date"].rounded-xl,
.page-section select.rounded-xl,
.page-section textarea.rounded-xl {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.page-section input.rounded-xl:hover,
.page-section select.rounded-xl:hover,
.page-section textarea.rounded-xl:hover {
    border-color: #cbd5e1 !important;
}

.page-section input.rounded-xl:focus,
.page-section select.rounded-xl:focus,
.page-section textarea.rounded-xl:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10) !important;
}

/* ============================================================
   31. BADGES
   ============================================================ */
.ui-badge,
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
}

.ui-badge-blue,
.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.ui-badge-green,
.badge-green {
    background: #dcfce7;
    color: #166534;
}

.ui-badge-red,
.badge-red {
    background: #fee2e2;
    color: #b91c1c;
}

.ui-badge-yellow,
.badge-yellow {
    background: #fef3c7;
    color: #b45309;
}

.ui-badge-purple,
.badge-purple {
    background: #ede9fe;
    color: #6d28d9;
}

.ui-badge-gray,
.badge-gray {
    background: #f1f5f9;
    color: #475569;
}

/* ============================================================
   32. FORM LAYOUT UTILITIES
   ============================================================ */

/*
   .ui-form-stack — merged from 2 definitions:
   - Line 1395: display:grid (grid-based stacking)
   - Line 1798: display:flex + flex-direction:column (flex-based stacking)
   Resolution: flex+column covers both use cases.
*/
.ui-form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ui-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/*
   .ui-form-narrow — merged from 2 definitions:
   - Line 1400: max-width:740px  (older, px-based)
   - Line 1813: max-width:48rem  (newer, rem-based, ~768px)
   Resolution: 48rem (rem-based is preferred for accessibility).
*/
.ui-form-narrow {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/*
   .ui-form-medium — merged from 2 definitions:
   - Line 1405: max-width:920px (older, px-based)
   - Line 1819: max-width:42rem (~672px, rem-based)
   Resolution: keep 920px (wider, more aligned with original usage in admin forms).
*/
.ui-form-medium {
    max-width: 920px;
    margin: 0 auto;
}

.ui-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 220px;
}

/*
   .ui-filter-bar — merged from 2 definitions:
   - Line 1410: padding:1rem; border:solid #e2e8f0; border-radius:1rem (older)
   - Line 1703: padding:1.25rem 1.5rem; border-color:--color-border; border-radius:--radius-lg; margin-bottom:1.5rem (newer)
   Resolution: Use newer definition (uses design tokens), add margin-bottom.
*/
.ui-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    padding: 1.25rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.ui-filter-bar .ui-filter-field {
    flex: 1;
    min-width: 10rem;
}

/*
   .ui-pagination — merged from 2 definitions:
   - Line 1428: gap:0.75rem; padding:0.75rem 0
   - Line 1721: gap:1rem (no padding) — newer, more spacious
   Resolution: Use newer (gap:1rem, clean), no padding needed.
*/
.ui-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/*
   .ui-pagination-info — merged: newer uses design tokens.
*/
.ui-pagination-info {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/*
   .ui-pagination-links — merged: newer has no flex-wrap (cleaner row).
*/
.ui-pagination-links {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/*
   .ui-pagination-btn — merged from 2 definitions:
   - Line 1448: padding:0.6rem 1rem; border-radius:0.85rem (older, rounded pill style)
   - Line 1740: min-width:2.25rem; height:2.25rem; font-weight:600; border-radius:--radius-sm (newer, precise dimensions)
   Resolution: Use newer (more precise, uses design tokens).
*/
.ui-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
}

.ui-pagination-btn:hover:not(.ui-pagination-btn-active):not(.ui-pagination-btn-disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--color-primary);
}

.ui-pagination-btn-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.ui-pagination-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ui-pagination-ellipsis {
    padding: 0 0.375rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ============================================================
    33. AUTH PAGES — Sidebar Layout (guest.blade.php)
    ============================================================ */

/* -- Sidebar Kiri -- */
.auth-sidebar {
    display: none;
    flex-direction: column;
    flex-shrink: 0;
    width: 340px;
    max-width: 40%;
    background: linear-gradient(180deg, #071733 0%, #0b2454 40%, #173d91 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(148, 163, 184, 0.15);
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

@media (min-width: 1024px) {
    .auth-sidebar {
        display: flex;
    }
}

.auth-sidebar-header {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 0;
}

.auth-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.5rem;
}

.auth-sidebar-logo img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.auth-sidebar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.auth-sidebar-subbrand {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.auth-sidebar-copy {
    position: relative;
    z-index: 1;
    margin: 2.25rem 2rem 0;
    padding: 1rem 1rem 0.9rem;
    max-width: 260px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-sidebar-tag {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: rgba(147, 197, 253, 0.12);
    border: 1px solid rgba(191, 219, 254, 0.2);
    color: #dbeafe;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-sidebar-copy p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

/* -- Sidebar Nav -- */
.auth-sidebar-nav {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 1.5rem 1.25rem 1rem;
    overflow-y: auto;
}

.auth-nav-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.85rem;
    padding-left: 0.2rem;
}

.auth-nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.3rem;
    border: 1px solid transparent;
}

.auth-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.04);
    transform: none;
}

.auth-nav-item:active {
    transform: none;
}

.auth-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.auth-nav-item:hover svg {
    opacity: 1;
}

.auth-nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-nav-badge {
    display: none;
}

/* -- Sidebar Stats -- */
.auth-sidebar-stats {
    position: relative;
    z-index: 1;
    padding: 0 2rem 2rem;
}

.auth-sidebar-stats-inner {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}

.auth-sidebar-stats-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
}

.auth-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

.auth-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.auth-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* -- Sidebar Footer -- */
.auth-sidebar-footer {
    position: relative;
    z-index: 1;
    padding: 0 2rem 2rem;
}

.auth-sidebar-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1rem;
}

.auth-sidebar-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.auth-sidebar-contact a:hover {
    color: #ffffff;
}

/* Decorative blobs */
.auth-sidebar-decor,
.auth-sidebar-decor-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-sidebar-decor {
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.auth-sidebar-decor-2 {
    top: 30%;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

/* -- Panel Kanan -- */
.auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #edf6ff 0%, #eaf3ff 35%, #edf7ff 100%);
    position: relative;
    padding: 16px;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

.auth-right::before,
.auth-right::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.08);
    pointer-events: none;
}

.auth-right::before {
    width: 520px;
    height: 520px;
    right: -180px;
    top: -120px;
}

.auth-right::after {
    width: 420px;
    height: 420px;
    left: -80px;
    bottom: -140px;
}

@media (min-width: 1024px) {
    .auth-right {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .auth-right {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 1.5rem;
    }
}

/* -- Auth Card Wrapper — True Center — */
.auth-card-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    flex-shrink: 0;
    margin: auto 0;
}

/* -- Auth Card — Bigger — */
.auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    padding: 0;
    border: 1px solid rgba(59, 130, 246, 0.14);
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: cardSlideUp 0.4s ease-out both;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #06b6d4, #2563eb);
    z-index: 2;
}

.auth-card-header {
    padding: 0 1.75rem;
    text-align: center;
}

.auth-card-body {
    padding: 0.85rem 1.75rem 1rem 1.75rem;
}

.auth-card-footer {
    padding: 0 1.75rem 1.15rem 1.75rem;
    text-align: center;
}

/* Card entrance animation */
@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- Auth Card Variants — Icon Header -- */
.auth-card-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.45), rgba(219, 234, 254, 0.8));
    margin: 1.1rem auto 0.35rem;
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.auth-card-icon-header svg {
    width: 22px;
    height: 22px;
    color: #2563eb;
}

/* -- Enhanced Input Styles -- */
.auth-input-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
}

.auth-input-wrapper .auth-input-icon {
    position: absolute;
    left: 0.95rem;
    /* Jangkar ke BAWAH wrapper (input selalu anak terakhir, tinggi tetap)
       agar ikon selalu tengah input apa pun tinggi label —Submit + HP aman. */
    top: auto;
    bottom: 13.5px;
    width: 17px;
    height: 17px;
    color: #94a3b8;
    transition: color 0.2s;
    pointer-events: none;
    z-index: 2;
}

.auth-input-wrapper .ui-input {
    padding-left: 2.65rem;
    border: 1.5px solid #DCE3EE;
    border-radius: 10px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    height: 44px;
    background: #FFFFFF;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
}

.auth-input-wrapper .ui-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #ffffff;
    outline: none;
}

.auth-input-wrapper .ui-input::placeholder {
    color: #94a3b8;
}

.auth-input-wrapper:hover .auth-input-icon {
    color: #60a5fa;
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: #2563eb;
}

/* Password toggle */
.auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.auth-password-toggle svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.auth-password-toggle:hover {
    color: #475569;
}

/* -- Enhanced Label -- */
.auth-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.25rem;
}

/* -- Enhanced Button -- */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    position: relative;
    overflow: hidden;
}

.auth-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.auth-btn:hover::after {
    opacity: 1;
}

.auth-btn span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* -- Auth Divider -- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* -- Auth Link -- */
.auth-link {
    font-size: 0.8rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #2563eb;
}

.auth-link-strong {
    font-weight: 700;
    color: #2563eb;
    transition: color 0.2s;
}

.auth-link-strong:hover {
    color: #1d4ed8;
}

/* -- Auth Alert -- */
.auth-alert {
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    border: 1px solid;
    margin-bottom: 1rem;
}

.auth-alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.auth-alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

/* -- Auth Section Title -- */
.auth-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.25;
    text-align: center;
}

.auth-section-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.2rem;
    line-height: 1.4;
    text-align: center;
}

/* -- Auth Footer Text -- */
.auth-footer-text {
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}

/* Legacy .auth-back cleanup */
.auth-back {
    display: none;
}

@media (max-width: 768px) {
    .auth-back {
        display: block;
        margin-top: 1.5rem;
        text-align: center;
    }
}

.auth-back a {
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.auth-back a:hover {
    color: #111827;
}

/* -- Mobile Responsive -- */
@media (max-width: 768px) {
    .auth-right {
        padding: 1.5rem;
        align-items: center;
    }

    .auth-card {
        border-radius: 16px;
        max-width: 100%;
    }

    .auth-card-header {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .auth-card-body {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }

    .auth-card-footer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .auth-section-title {
        font-size: 1.5rem;
    }

    .auth-card-icon-header {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin: 1rem auto 0.5rem;
    }

    .auth-card-icon-header svg {
        width: 24px;
        height: 24px;
    }

    .auth-input-wrapper .ui-input {
        height: 48px;
        font-size: 0.9rem;
    }

    /* Input HP 48px → ikon 18px butuh bottom 15px agar tetap tengah. */
    .auth-input-wrapper .auth-input-icon {
        bottom: 15px;
    }

    .auth-btn {
        height: 48px;
        font-size: 0.95rem;
    }

    .auth-mobile-title {
        font-size: 1rem;
    }

    .auth-mobile-subtitle {
        font-size: 0.7rem;
    }
}

/* -- Legacy .auth-left / .auth-wrap cleanup -- */
.auth-wrap {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .auth-wrap {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
}

/* Mobile logo */
.auth-mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .auth-mobile-logo {
        display: none;
    }
}

.auth-mobile-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.auth-mobile-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.auth-mobile-subtitle {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2px;
}

/* ============================================================
   34. DATA TABLE
   ============================================================ */
.ui-table-wrap {
    overflow-x: auto;
}

.ui-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ui-table thead {
    background: #f8fafc;
}

.ui-table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.ui-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.ui-table tbody tr {
    transition: background var(--transition);
}

.ui-table tbody tr:hover {
    background: #f8fafc;
}

.ui-table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.ui-table-actions a {
    font-weight: 600;
    font-size: 0.8125rem;
    transition: color var(--transition);
}

.ui-table-row-highlight {
    background: #fffbeb;
}

.ui-table-row-highlight:hover {
    background: #fef3c7;
}

/* ============================================================
   35. MODAL
   ============================================================ */
.ui-modal {
    display: block;
}

.ui-modal.hidden {
    display: none;
}

/* ============================================================
   36. FOOTER & LAYOUT HELPERS
   ============================================================ */
footer {
    position: relative;
    /* z-index sengaja rendah agar tidak menutupi modal (modal pakai z-100+).
       Sebelumnya 50 = sama dengan modal/nav sehingga footer yang muncul
       belakangan di DOM menimpa backdrop modal. */
    z-index: 10;
}

/* Safety: semua modal fixed harus selalu di atas footer/nav/sidebar.
   Mencegah kasus seperti #uploadModal ketutup footer saat di-scroll. */
.ui-modal,
div[id$="Modal"].fixed,
div[id$="modal"].fixed {
    z-index: 100 !important;
}

/* -------------------------------------------------------
   GLOBAL LAYOUT POSITIONING
   Navbar: fixed, height = var(--navbar-h) = 64px
   Sidebar: fixed, top = var(--navbar-h)
   Main content wrapper: margin-top = var(--navbar-h) (SATU KALI)
------------------------------------------------------- */

/* Wrapper utama konten — didorong menggunakan padding pada elemen main, bukan pada wrapper */
.app-main-wrapper {
    margin-top: 0;
    padding-top: 0;
    min-height: 100vh;
    overflow-x: hidden;
    /* cegah horizontal overflow global */
}

/* Main content area — padding-top WAJIB var(--navbar-h) sebagai
   kompensasi navbar fixed; jangan pernah 0 (konten ketutup navbar). */
.main-content {
    padding-top: var(--navbar-h);
    padding-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* cegah horizontal overflow */
}

/* Fade-in wrapper — pastikan tidak ada top spacing */
.fade-in {
    margin-top: 0;
    padding-top: 0;
}

/* Sidebar */
aside.sidebar-container {
    z-index: 40;
}

@media (min-width: 1024px) {
    [x-cloak] {
        display: none !important;
    }
}

/* ============================================================
   37. STAT ACCENT BAR
   ============================================================ */
.stat-item-v2::before {
    content: '';
    position: absolute;
    left: 20px;
    bottom: 16px;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--accent-color, transparent);
    pointer-events: none;
}

/* ============================================================
   38. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes float-pulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.03);
    }
}

@keyframes info-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes logo-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes badge-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes progressFill {
    from {
        width: 0;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 12px 4px rgba(59, 130, 246, 0.15);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   39. ANIMATION HELPERS
   ============================================================ */
.animate-slide-up {
    animation: slideUp 0.5s ease-out both;
}

.animate-slide-up-1 {
    animation-delay: 0.05s;
}

.animate-slide-up-2 {
    animation-delay: 0.1s;
}

.animate-slide-up-3 {
    animation-delay: 0.15s;
}

.animate-slide-up-4 {
    animation-delay: 0.2s;
}

.animate-slide-up-5 {
    animation-delay: 0.25s;
}

.animate-gentle-float {
    animation: gentleFloat 3s ease-in-out infinite;
}

.animate-progress-fill {
    animation: progressFill 1s ease-out both;
}

.animate-glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* ============================================================
   PREMIUM FORM UPGRADE — 2026-09-23 (mirror dari resources/css/forms.css)
   ============================================================ */
.ui-panel {
    border-radius: 1.25rem !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden
}

.ui-panel-header {
    background: linear-gradient(90deg, #f8fafc 0%, #fff 100%) !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.25rem 1.5rem !important
}

.ui-panel-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1rem !important;
    letter-spacing: -.02em
}

.ui-panel-title::before {
    content: '';
    width: 6px;
    height: 18px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #2563eb, #06b6d4);
    flex-shrink: 0
}

.ui-panel-body {
    padding: 1.5rem !important;
    background: #fff
}

.ui-panel .ui-input,
.ui-panel .ui-select,
.ui-panel .ui-textarea {
    background: #fbfdff !important;
    border-color: #e2e8f0 !important
}

.ui-panel .ui-input:focus,
.ui-panel .ui-select:focus,
.ui-panel .ui-textarea:focus {
    background: #fff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .11), 0 1px 2px rgba(15, 23, 42, .04) !important
}

.auth-card {
    border: 1px solid rgba(226, 232, 240, .9) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .04) !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    position: relative
}

.auth-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, .08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%
}

.auth-input-wrapper .ui-input {
    padding-left: 2.6rem !important;
    background: #f8fafc !important
}

.auth-input-wrapper .auth-input-icon {
    color: #94a3b8 !important;
    transition: color 180ms ease
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: #2563eb !important
}

.auth-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .28) !important;
    border-radius: .9rem !important;
    font-weight: 800 !important;
    letter-spacing: -.01em;
    transition: all 180ms ease !important
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .34) !important
}

.job-form-panel {
    border-radius: 1.25rem !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important
}

.border-dashed:hover {
    border-color: #3b82f6 !important;
    background: #f8fbff !important
}

/* ============================================================
   39b. INPUT + IKON ABSOLUTE (search icon dsb.)
   app-custom.css diload SETELAH bundle Vite, sehingga padding
   `.ui-input` (0.875rem kiri) menimpa utility Tailwind `pl-8/pl-9/pl-10`.
   Akibatnya ikon lup (pl-2.5 + 16px = berakhir ~26px) menimpa teks
   "Judul pekerjaan..." (mulai 14px) → "J" terbaca "Q".
   Override ini mengembalikan padding kiri yang benar.
   ============================================================ */
.ui-input.pl-8,
.ui-select.pl-8,
.ui-textarea.pl-8 {
    padding-left: 2rem !important;
}

.ui-input.pl-9,
.ui-select.pl-9,
.ui-textarea.pl-9 {
    padding-left: 2.25rem !important;
}

.ui-input.pl-10,
.ui-select.pl-10,
.ui-textarea.pl-10 {
    padding-left: 2.5rem !important;
}

.ui-input.pr-8,
.ui-select.pr-8 {
    padding-right: 2rem !important;
}

.ui-input.pr-9,
.ui-select.pr-9 {
    padding-right: 2.25rem !important;
}

.ui-input.pr-10,
.ui-select.pr-10 {
    padding-right: 2.5rem !important;
}

/* ============================================================
   39c. POSTER ADAPTIF (berita & acara)
   Poster bisa landscape / portrait / kotak — selalu tampil UTUH
   tanpa terpotong: gambar contain di depan + versi blur sebagai
   latar agar frame tetap penuh dan rapi di grid mana pun.
   Pakai: <div class="poster-frame [tinggi/aspek]">
             <img class="poster-bg" src="...">
             <img class="poster-main" src="...">
           </div>
   ============================================================ */
.poster-frame {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
}

.poster-frame>img.poster-bg {
    position: absolute;
    inset: -1.25rem;
    width: calc(100% + 2.5rem);
    height: calc(100% + 2.5rem);
    object-fit: cover;
    filter: blur(18px) saturate(1.25) brightness(.96);
}

.poster-frame>img.poster-main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Overlay (mis. badge "Sudah Selesai") harus di atas gambar */
.poster-frame>.poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Thumb kecil: cukup contain polos tanpa blur */
.poster-thumb {
    object-fit: contain !important;
    background: #f1f5f9;
}

/* ============================================================
   40. PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    .hero-info-scroll,
    .logo-marquee-track,
    .hero-circle,
    .hero-particle,
    .hero-illustration-card,
    .fade-reveal,
    .hiw-step,
    .feature-card-v2 {
        animation: none !important;
        transition: none !important;
    }

    .home-marquee-track {
        animation: none;
    }
}