@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #f6f8ff;
    --white: #ffffff;
    --dark: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --blue: #2563eb;
    --indigo: #4f46e5;
    --purple: #9333ea;
    --cyan: #06b6d4;
    --green: #10b981;
    --orange: #f97316;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.auth-page { min-height: 100vh; padding: 24px; }

.auth-shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    max-width: 1280px;
    min-height: calc(100vh - 48px);
    margin: 0 auto;
    padding: 20px;
    border-radius: 36px;
    background: white;
    box-shadow: var(--shadow);
}

.auth-visual {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: 32px;
    background: linear-gradient(135deg, #2563eb, #4f46e5, #ec4899);
    color: white;
}

.blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(55px);
    opacity: 0.42;
}

.blob-one {
    top: -70px;
    left: -70px;
    width: 230px;
    height: 230px;
    background: #67e8f9;
}

.blob-two {
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    background: #f9a8d4;
}

.visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px;
}

.pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pill.light {
    background: rgba(255, 255, 255, 0.16);
    color: white;
    backdrop-filter: blur(8px);
}

.pill.blue {
    background: #eff6ff;
    color: var(--blue);
}

.visual-content h1 {
    max-width: 440px;
    margin: 34px 0 16px;
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.visual-content p {
    max-width: 420px;
    margin: 0;
    color: #dbeafe;
    line-height: 1.8;
}

.illustration-card {
    position: relative;
    width: 310px;
    height: 310px;
    margin: 40px auto 10px;
    border-radius: 44px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    animation: float 5s ease-in-out infinite;
}

.person-head {
    position: absolute;
    top: 52px;
    left: 50%;
    width: 112px;
    height: 112px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.person-body {
    position: absolute;
    top: 144px;
    left: 50%;
    width: 172px;
    height: 116px;
    transform: translateX(-50%);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.laptop {
    position: absolute;
    left: 50%;
    bottom: 32px;
    width: 230px;
    height: 82px;
    transform: translateX(-50%);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.76);
}

.line {
    position: absolute;
    height: 12px;
    border-radius: 99px;
}

.line-one {
    left: 82px;
    bottom: 55px;
    width: 120px;
    background: #67e8f9;
}

.line-two {
    right: 54px;
    bottom: 86px;
    width: 70px;
    background: #f9a8d4;
}

.mini-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.mini-icon.lock { top: 46px; left: 36px; }
.mini-icon.check { right: 36px; bottom: 105px; }

.auth-form-area {
    display: grid;
    place-items: center;
    padding: 48px;
}

.auth-card { width: 100%; max-width: 440px; }

.auth-card h2 {
    margin: 22px 0 12px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.auth-card p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: 0.2s;
}

.input-group:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px #dbeafe;
}

.input-group input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--dark);
    font-size: 14px;
}

.captcha-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 14px;
}

.captcha-box {
    display: grid;
    place-items: center;
    min-height: 52px;
    border: 1px solid #fecdd3;
    border-radius: 18px;
    background: #fff1f2;
    color: #fb7185;
    font-family: Georgia, serif;
    font-size: 24px;
    letter-spacing: 0.28em;
    text-decoration: line-through;
}

.refresh-btn, .resend-btn {
    border: 0;
    border-radius: 18px;
    background: var(--cyan);
    color: white;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.refresh-btn { padding: 0 18px; }

.resend-btn {
    display: block;
    margin: 0 auto 14px;
    padding: 10px 16px;
    background: #ecfeff;
    color: #0891b2;
}

.primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
    padding: 15px 20px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #c026d3);
    color: white;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
    transition: 0.2s;
}

.primary-btn:hover { transform: translateY(-2px); }

.auth-card small {
    display: block;
    margin-top: 16px;
    color: #94a3b8;
    text-align: center;
    font-weight: 800;
}

/* App layout */
.mobile-header, .mobile-bottom-nav { display: none; }

.app-layout {
    display: flex;
    gap: 20px;
    min-height: 100vh;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

.sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    width: 280px;
    height: calc(100vh - 40px);
    flex-shrink: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 30px;
    background: #020617;
    color: white;
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
}

.brand-logo, .mobile-brand-logo {
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #d946ef);
    color: white;
    font-weight: 900;
}

.brand-logo { width: 48px; height: 48px; }
.mobile-brand-logo { width: 42px; height: 42px; }

.brand strong { display: block; font-size: 18px; }
.brand span { color: #94a3b8; font-size: 12px; }

.sidebar nav { margin-top: 28px; }

.sidebar nav a, .logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s;
}

.sidebar nav a.active,
.sidebar nav a:hover,
.logout-btn:hover {
    background: linear-gradient(90deg, #2563eb, #d946ef);
    color: white;
}

.content-area {
    min-width: 0;
    flex: 1;
    padding-bottom: 80px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 420px);
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}

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

.icon-btn {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.profile-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.avatar {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #d946ef);
    color: white;
    font-weight: 900;
}

.profile-chip strong { display: block; font-size: 13px; }
.profile-chip small { color: #94a3b8; }

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    overflow: hidden;
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #d946ef);
    color: white;
    box-shadow: 0 24px 70px rgba(37, 99, 235, 0.22);
}

.hero-blob-one {
    right: 120px;
    top: -70px;
    width: 240px;
    height: 240px;
    background: #67e8f9;
}

.hero-blob-two {
    right: -90px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    background: #f9a8d4;
}

.hero-card > div:not(.blob) { position: relative; z-index: 2; }

.hero-card span {
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-card h1 {
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero-card p {
    max-width: 720px;
    color: #dbeafe;
    line-height: 1.8;
}

.hero-card button {
    position: relative;
    z-index: 2;
    align-self: end;
    padding: 14px 22px;
    border: 0;
    border-radius: 18px;
    background: white;
    color: var(--blue);
    font-weight: 900;
    cursor: pointer;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 24px 0;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 28px;
    background: white;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    transition: 0.2s;
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card::after {
    content: '';
    position: absolute;
    top: -32px;
    right: -32px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    opacity: 0.16;
}

.stat-card.blue::after { background: var(--blue); }
.stat-card.green::after { background: var(--green); }
.stat-card.orange::after { background: var(--orange); }
.stat-card.purple::after { background: var(--purple); }

.stat-card .icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 18px;
    color: white;
    font-size: 22px;
}

.stat-card.blue .icon { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.stat-card.green .icon { background: linear-gradient(135deg, #34d399, #14b8a6); }
.stat-card.orange .icon { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.stat-card.purple .icon { background: linear-gradient(135deg, #8b5cf6, #d946ef); }

.stat-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 900;
}

.stat-card h3 {
    margin: 8px 0 0;
    font-size: 42px;
    line-height: 1;
}

.stat-card small {
    position: absolute;
    right: 22px;
    bottom: 24px;
    padding: 6px 10px;
    border-radius: 99px;
    background: #ecfdf5;
    color: #059669;
    font-weight: 900;
}

.table-card, .detail-main, .summary-card {
    border-radius: 30px;
    background: white;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.table-card { padding: 24px; }

.table-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.table-header h2, .detail-main h2 {
    margin: 0 0 6px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.table-header p {
    margin: 0;
    color: var(--muted);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-group button {
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.filter-group button.selected {
    background: var(--dark);
    color: white;
}

.filter-group button.export {
    background: var(--cyan);
    color: white;
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid #f1f5f9;
    border-radius: 22px;
}

table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    text-align: left;
}

thead {
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

th, td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

td { color: #475569; }
td.strong { color: var(--dark); font-weight: 900; }
tbody tr:hover { background: #eff6ff; }

.badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.badge.primary { background: #eff6ff; color: #2563eb; }
.badge.info { background: #ecfeff; color: #0891b2; }
.badge.warning { background: #fff7ed; color: #ea580c; }
.badge.success { background: #ecfdf5; color: #059669; }
.badge.large { padding: 10px 16px; }

.view-btn {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: white;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
}

.detail-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.back-btn {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 14px;
    background: white;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.detail-heading h1 {
    margin: 0;
    font-size: 46px;
    letter-spacing: -0.05em;
}

.detail-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
}

.detail-main { padding: 24px; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.info-card {
    padding: 18px;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    background: #f8fafc;
}

.info-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.info-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.summary-card {
    padding: 26px;
    background: linear-gradient(135deg, #020617, #172554);
    color: white;
}

.summary-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
}

.summary-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

.summary-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.summary-list div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 800;
}

.mobile-menu-toggle, .mobile-close-btn {
    border: 0;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #d946ef);
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.mobile-close-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 20px;
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 79;
    display: none;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(4px);
}

.mobile-backdrop.show { display: block; }
.table-mobile-cards { display: none; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
    body { padding-bottom: 86px; }

    .auth-page { padding: 12px; }

    .auth-shell {
        display: flex;
        min-height: auto;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border-radius: 28px;
    }

    .auth-visual {
        min-height: 280px;
        border-radius: 24px;
    }

    .visual-content {
        min-height: 280px;
        padding: 24px;
    }

    .visual-content h1 {
        max-width: 100%;
        margin-top: 26px;
        font-size: 34px;
    }

    .visual-content p {
        max-width: 100%;
        font-size: 13px;
    }

    .illustration-card { display: none; }

    .auth-form-area { padding: 28px 10px 16px; }
    .auth-card { max-width: 100%; }
    .auth-card h2 { font-size: 30px; }
    .captcha-row { grid-template-columns: 1fr; }
    .refresh-btn { min-height: 48px; }
    .input-group, .primary-btn { min-height: 52px; }

    .app-layout {
        display: block;
        padding: 14px;
    }

    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 70;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px;
        background: rgba(246, 248, 255, 0.88);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .mobile-brand strong {
        display: block;
        overflow: hidden;
        color: #0f172a;
        font-size: 14px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-brand span {
        display: block;
        color: #64748b;
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-menu-toggle {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        width: min(84vw, 320px);
        height: 100vh;
        margin: 0;
        border-radius: 0 28px 28px 0;
        transform: translateX(-105%);
        transition: transform 0.28s ease;
    }

    .sidebar.open { transform: translateX(0); }

    .sidebar .brand {
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-close-btn {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .content-area { padding-bottom: 24px; }

    .topbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }

    .search-box { width: 100%; }

    .top-actions { justify-content: space-between; }

    .profile-chip {
        flex: 1;
        justify-content: flex-start;
        min-width: 0;
    }

    .hero-card {
        display: block;
        padding: 24px;
        border-radius: 26px;
    }

    .hero-card h1 { font-size: 34px; }
    .hero-card p { font-size: 13px; }

    .hero-card button {
        width: 100%;
        margin-top: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 16px 0;
    }

    .stat-card {
        padding: 18px;
        border-radius: 22px;
    }

    .stat-card .icon {
        width: 46px;
        height: 46px;
        margin-bottom: 18px;
        border-radius: 16px;
    }

    .stat-card h3 { font-size: 32px; }

    .stat-card small {
        position: static;
        display: inline-flex;
        margin-top: 10px;
    }

    .table-card {
        padding: 16px;
        border-radius: 24px;
    }

    .table-header { display: block; }

    .filter-group {
        margin-top: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .filter-group button { flex: 0 0 auto; }

    .table-responsive { display: none; }

    .table-mobile-cards {
        display: grid;
        gap: 12px;
        margin-top: 16px;
    }

    .project-mobile-card {
        padding: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    }

    .project-mobile-top {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .project-mobile-top strong {
        font-size: 16px;
        font-weight: 900;
    }

    .project-mobile-title {
        margin: 0 0 14px;
        color: #0f172a;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.5;
    }

    .project-mobile-meta {
        display: grid;
        gap: 8px;
        margin-bottom: 14px;
    }

    .project-mobile-meta div {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        color: #64748b;
        font-size: 12px;
        line-height: 1.5;
    }

    .project-mobile-meta b { color: #334155; }

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

    .project-mobile-actions .view-btn {
        justify-content: center;
        width: 100%;
        padding: 12px 16px;
    }

    .detail-heading {
        display: block;
        margin-bottom: 16px;
    }

    .detail-heading h1 { font-size: 38px; }
    .detail-heading .badge { margin-top: 14px; }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .detail-main, .summary-card {
        padding: 18px;
        border-radius: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(226, 232, 240, 0.92);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(18px);
    }

    .mobile-bottom-nav a {
        display: grid;
        gap: 3px;
        place-items: center;
        padding: 9px 4px;
        border-radius: 16px;
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
    }

    .mobile-bottom-nav a.active {
        background: #eff6ff;
        color: #2563eb;
    }

    .mobile-bottom-nav span {
        font-size: 18px;
        line-height: 1;
    }
}

@media (max-width: 520px) {
    .auth-card h2 { font-size: 26px; }
    .visual-content h1, .hero-card h1 { font-size: 28px; }
    .stats-grid { grid-template-columns: 1fr; }
    .table-header h2, .detail-main h2 { font-size: 22px; }
    .top-actions { gap: 8px; }
    .icon-btn { width: 42px; height: 42px; }
    .profile-chip { padding-right: 10px; }
    .profile-chip strong, .profile-chip small { display: none; }
}

.modern-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    animation: alertSlideDown 0.25s ease;
}

.modern-alert-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 900;
}

.modern-alert-content {
    flex: 1;
    padding-top: 1px;
}

.modern-alert-title {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 900;
}

.modern-alert-message {
    display: block;
    color: inherit;
    opacity: 0.88;
}

.modern-alert-close {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    opacity: 0.65;
    transition: 0.2s;
}

.modern-alert-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.6);
}

.modern-alert.danger {
    border: 1px solid #fecdd3;
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    color: #be123c;
}

.modern-alert.danger .modern-alert-icon {
    background: #fecdd3;
    color: #be123c;
}

.modern-alert.success {
    border: 1px solid #a7f3d0;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #047857;
}

.modern-alert.success .modern-alert-icon {
    background: #a7f3d0;
    color: #047857;
}

.modern-alert.warning {
    border: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #c2410c;
}

.modern-alert.warning .modern-alert-icon {
    background: #fed7aa;
    color: #c2410c;
}

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