﻿/* ============================================================
   AlpagoTech – Global + App Shell + Luxury Login + Dashboard
   Luxury Dark Theme · Fullscreen Layout · SMB Enhancements
   ============================================================ */

/* ----------------- BASE PAGE STYLES ------------------ */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
    background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
    overflow: hidden; /* desktop: no page scroll (scroll inside shells) */
}

/* default ASP.NET wrapper – neutralize spacing when using app-body/auth2-body */
.body-content {
    height: 100vh;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* base subtle fade-in for main app areas */
.app-shell,
.dashboard-shell,
.auth2-main {
    animation: at-fadeIn 0.45s ease-out both;
}

@keyframes at-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Base scrollbar styling (when shown) */
.app-content-scroll::-webkit-scrollbar,
.dashboard-main::-webkit-scrollbar,
.dashboard-sidebar::-webkit-scrollbar,
.dashboard-sidebar-scroll::-webkit-scrollbar,
.dashboard-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.app-content-scroll::-webkit-scrollbar-thumb,
.dashboard-main::-webkit-scrollbar-thumb,
.dashboard-sidebar::-webkit-scrollbar-thumb,
.dashboard-sidebar-scroll::-webkit-scrollbar-thumb,
.dashboard-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(51, 65, 85, 0.95);
    border-radius: 999px;
}

/* “Invisible” scrollbars: hide them but keep scrolling */
.dashboard-sidebar-scroll {
    scrollbar-width: none; /* Firefox */
}

    .dashboard-sidebar-scroll::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

.dashboard-scroll-area {
    scrollbar-width: none; /* Firefox */
}

    .dashboard-scroll-area::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

/* ============================================================
   APP SHELL (non-login pages: dashboard, etc.)
   ============================================================ */

body.app-body {
    background: radial-gradient(circle at top, #020617 0, #020617 45%, #020617 100%);
    overflow: hidden; /* desktop: no full-page scroll */
}

    /* remove bootstrap container / pb-3 spacing when in app-body */
    body.app-body .container,
    body.app-body main,
    body.app-body main.pb-3 {
        max-width: none;
        width: 100%;
        padding: 0;
        margin: 0;
    }

/* optional app shell around dashboard */
.app-shell {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: rgba(10, 16, 34, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    z-index: 20;
}

.app-navbar {
    background: transparent !important;
}

.app-logo-main {
    height: 40px;
    object-fit: contain;
}

.app-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-content-scroll {
    flex: 1;
    min-height: 0;
    display: flex;
    padding: 1.6rem 1.4rem;
    overflow: hidden; /* scroll only in children */
}

.app-footer {
    background: rgba(10, 16, 34, 0.98);
    color: #9ca3af;
    font-size: 0.8rem;
}

/* ============================================================
   LOGIN MODE – body.auth2-body (centered luxury card)
   ============================================================ */

body.auth2-body {
    position: relative;
    background: #020617;
    color: #f5f7fb;
    overflow: hidden; /* desktop fixed feel */
}

    /* remove Bootstrap spacing on login */
    body.auth2-body .body-content,
    body.auth2-body main,
    body.auth2-body .container,
    body.auth2-body .row,
    body.auth2-body .col,
    body.auth2-body .col-md-4,
    body.auth2-body .col-md-6,
    body.auth2-body .col-md-8,
    body.auth2-body .col-md-12 {
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

/* animated background (video + overlays) */
.auth2-video-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
}

    .auth2-video-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.6);
    }

.auth2-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.13), transparent 55%), radial-gradient(circle at 80% 100%, rgba(129, 140, 248, 0.2), transparent 60%), linear-gradient(135deg, rgba(3, 7, 18, 0.96), rgba(15, 23, 42, 0.97));
    z-index: -2;
}

.auth2-noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    animation: noiseDrift 18s linear infinite alternate;
    z-index: -1;
}

@keyframes noiseDrift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-20px, -15px);
    }
}

/* centered card */
.auth2-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.auth2-card {
    width: 100%;
    max-width: 460px;
    border-radius: 1.6rem;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.16), transparent 55%), rgba(10, 13, 28, 0.96);
    border: 1px solid rgba(248, 250, 252, 0.10);
    backdrop-filter: blur(24px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.78);
    animation: cardIntro 0.45s ease-out both, cardGlow 12s ease-in-out infinite alternate;
}

.auth2-card-inner {
    padding: 1.3rem 1.8rem 1.1rem;
}

@keyframes cardIntro {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(18px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes cardGlow {
    0% {
        border-color: rgba(56, 189, 248, 0.26);
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
    }

    100% {
        border-color: rgba(129, 140, 248, 0.6);
        box-shadow: 0 30px 80px rgba(56, 189, 248, 0.55);
    }
}

/* header row */
.auth2-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

/* login logo */
.auth2-logo-top {
    height: 44px;
    -webkit-user-drag: none;
    filter: drop-shadow(0 0 10px rgba(148, 163, 184, 0.45));
    animation: logoFloat 6s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0% {
        transform: translateY(0);
        filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.35));
    }

    100% {
        transform: translateY(-3px);
        filter: drop-shadow(0 0 12px rgba(148, 163, 184, 0.7));
    }
}

.auth2-microcopy-line {
    font-size: 0.66rem;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

.auth2-status-pill {
    font-size: 0.7rem;
    padding: 0.16rem 0.75rem;
    border-radius: 999px;
    background: rgba(12, 184, 255, 0.10);
    border: 1px solid rgba(12, 184, 255, 0.4);
    color: #e0f7ff;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.auth2-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #00e5ff;
    box-shadow: 0 0 7px rgba(0, 229, 255, 0.9);
    animation: statusPulse 1.8s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.5;
    }
}

.auth2-heading {
    font-size: 1rem;
    font-weight: 600;
}

.auth2-heading-sub {
    font-size: 0.8rem;
    color: #b0bec5;
}

.auth2-small-hint {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Google button */
.auth2-google-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.3rem;
}

.auth2-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 38, 38, 0.9);
    background: #DB4437;
    color: #f9fafb;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 210px;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.65);
    transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

    .auth2-google-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 40px rgba(220, 38, 38, 0.8);
        background: #c7352a;
    }

    .auth2-google-btn:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 10px 24px rgba(220, 38, 38, 0.7);
    }

.auth2-divider-label {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Login form */
.auth2-form {
    margin-top: 0.5rem;
}

.auth2-field {
    margin-bottom: 0.6rem;
}

.auth2-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9fb3c8;
    margin-bottom: 0.25rem;
}

.auth2-input-wrap {
    position: relative;
}

.auth2-input-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: #9ca3af;
}

.auth2-input {
    width: 100%;
    background: rgba(8, 11, 28, 0.94);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.6rem 0.9rem 0.6rem 2.2rem;
    font-size: 0.85rem;
    color: #f9fafb !important;
    transition: all 0.18s ease-out;
}

    .auth2-input::placeholder {
        color: rgba(148, 163, 184, 0.7);
    }

    .auth2-input:focus {
        outline: none;
        background: rgba(9, 12, 40, 0.98);
        border-color: rgba(59, 130, 246, 0.95);
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7), 0 0 16px rgba(56, 189, 248, 0.45);
    }

.auth2-form .text-danger {
    font-size: 0.72rem;
    color: #fecaca;
    min-height: 0.9rem;
}

.auth2-aux-row {
    font-size: 0.75rem;
}

.auth2-remember .form-check-input {
    background-color: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.8);
}

    .auth2-remember .form-check-input:checked {
        background-color: #38bdf8;
        border-color: #38bdf8;
    }

/* links */
.auth2-link {
    font-size: 0.74rem;
    color: #7dd3fc;
    text-decoration: none;
    position: relative;
}

    .auth2-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 1px;
        background: linear-gradient(90deg, #38bdf8, #a855f7);
        transition: width 0.16s ease-out;
    }

    .auth2-link:hover::after {
        width: 100%;
    }

/* SIGN IN BUTTON – BLUE (NO ORANGE) */
.auth2-submit-btn {
    position: relative;
    width: 100%;
    border-radius: 999px;
    padding: 0.75rem 0.9rem;
    border: none;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #f9fafb;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.75);
    cursor: pointer;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.auth2-submit-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(248, 250, 252, 0.3), transparent 55%), radial-gradient(circle at 90% 100%, rgba(248, 250, 252, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity 0.15s ease-out;
    border-radius: inherit;
}

.auth2-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 70px rgba(37, 99, 235, 0.95);
}

    .auth2-submit-btn:hover .auth2-submit-glow {
        opacity: 1;
    }

.auth2-submit-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.9);
}

/* responsive login */
@media (max-width: 768px) {
    body.auth2-body {
        overflow-y: auto; /* allow scroll on small screens */
    }

    .auth2-card {
        max-width: 94%;
    }

    .auth2-card-inner {
        padding: 1.2rem 1.3rem 1.1rem;
    }

    .auth2-google-btn {
        width: 100%;
    }
}

/* ============================================================
   DASHBOARD STYLES – FULLSCREEN LUXURY
   ============================================================ */

.dashboard-shell {
    height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

.dashboard-bg-gradient {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%), radial-gradient(circle at 80% 100%, rgba(129, 140, 248, 0.26), transparent 60%), linear-gradient(130deg, #020617, #020617);
    z-index: -2;
}

/* main layout – centered with max width */
.dashboard-layout {
    flex: 1;
    min-height: 0;
    height: 100%;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 1.75rem;
    padding: 1.8rem 1.1rem 1.6rem;
    box-sizing: border-box;
}

/* sidebar */
.dashboard-sidebar {
    width: 270px;
    min-width: 240px;
    max-width: 290px;
    border-radius: 24px;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.14), transparent 55%), rgba(9, 12, 28, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.78);
    padding: 1.4rem 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    color: #e2e8f0;
    overflow: hidden; /* sidebar uses inner scroll */
}

.dashboard-sidebar-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding-bottom: 0.9rem;
}

/* sidebar user block */
.sidebar-user-block {
    margin-top: 0.4rem;
}

.sidebar-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f9fafb;
}

.sidebar-user-roles {
    font-size: 0.72rem;
}

/* logo – 60% bigger */
.dashboard-logo-mark {
    height: 45px; /* bigger logo */
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.55));
}

/* brand text */
.dashboard-brand-title {
    font-size: 1.02rem;
    font-weight: 600;
}

.dashboard-brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

/* environment pill */
.dashboard-env-pill {
    margin-top: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(59, 130, 246, 0.7);
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.25), transparent 55%), rgba(15, 23, 42, 0.98);
    color: #dbeafe;
}

/* inner sidebar scroll area */
.dashboard-sidebar-scroll {
    margin-top: 1.2rem;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* scroll ONLY inside sidebar */
    overflow-x: hidden;
    padding-right: 0.15rem;
}

/* nav */
.dashboard-nav {
    margin-bottom: 0.8rem;
}

.dashboard-nav-section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.5rem 0.55rem;
    border-radius: 11px;
    font-size: 0.85rem;
    color: #e5e7eb;
    text-decoration: none;
    opacity: 0.9;
    transition: background 0.16s ease-out, opacity 0.16s ease-out, transform 0.12s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.dashboard-nav-item-left {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dashboard-nav-item i {
    font-size: 1rem;
    color: #93c5fd;
}

/* subtle hover */
.dashboard-nav-item:hover {
    background: rgba(15, 23, 42, 0.96);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
}

/* ACTIVE DASHBOARD SELECTION – BLUE, CLEAN */
.dashboard-nav-item.active {
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.38), transparent 60%), linear-gradient(135deg, #1d4ed8, #38bdf8);
    color: #f9fafb;
    opacity: 1;
    box-shadow: 0 18px 46px rgba(37, 99, 235, 0.85);
    border-color: rgba(191, 219, 254, 0.9);
}

    .dashboard-nav-item.active i {
        color: #e0f2fe;
    }

/* small count chip on nav items (e.g. pending tickets) */
.dashboard-nav-pill {
    font-size: 0.7rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

.dashboard-sidebar-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.32);
    padding-top: 0.55rem;
    margin-top: 0.7rem;
    font-size: 0.7rem;
    color: #9ca3af;
}

/* main content card (RIGHT SIDE) */
.dashboard-main {
    flex: 1;
    min-width: 0;
    border-radius: 26px;
    background: radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.18), transparent 60%), rgba(8, 11, 26, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.82);
    padding: 1.6rem 1.8rem;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* scroll inside .dashboard-scroll-area */
}

.dashboard-topbar {
    border-bottom: 1px solid rgba(148, 163, 184, 0.32);
    padding-bottom: 0.9rem;
}

/* RIGHT SIDE scrollable area */
.dashboard-scroll-area {
    flex: 1;
    min-height: 0;
    padding-top: 1rem;
    padding-right: 0.3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* typography / user info */
.dashboard-title {
    font-size: 1.18rem;
    font-weight: 600;
}

.dashboard-subtitle {
    font-size: 0.86rem;
    color: #9ca3af;
}

.dashboard-user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.dashboard-user-roles {
    max-width: 260px;
}

.dashboard-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.55);
    font-size: 0.78rem;
}

.dashboard-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #38bdf8, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
}

/* section spacing */
.dashboard-section {
    margin-bottom: 1.2rem;
}

/* KPI cards */
.kpi-card {
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.32), transparent 55%), rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(30, 64, 175, 0.95);
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.12s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
}

    .kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px rgba(30, 64, 175, 0.8);
        border-color: rgba(59, 130, 246, 1);
    }

.kpi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.kpi-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================================
   SMB DASHBOARD (files / preview)
   ============================================================ */

/* container card for SMB panel */
.smb-panel {
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
    padding: 1rem 1.1rem;
}

/* header row inside SMB panel */
.smb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.smb-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.smb-subtitle {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* search/filter area above table */
.smb-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
}

.smb-filter-input {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.35rem 0.8rem;
    color: #e5e7eb;
    font-size: 0.8rem;
}

    .smb-filter-input:focus {
        outline: none;
        border-color: rgba(56, 189, 248, 0.95);
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
    }

/* SMB table */
.smb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 0.8rem;
}

    .smb-table thead th {
        font-size: 0.74rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: #9ca3af;
        padding: 0.45rem 0.6rem;
        border-bottom: 1px solid rgba(55, 65, 81, 0.9);
        background: rgba(15, 23, 42, 0.98);
    }

    .smb-table tbody tr {
        background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.16), transparent 55%), rgba(15, 23, 42, 0.98);
        border-radius: 999px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
        transition: transform 0.1s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
    }

        .smb-table tbody tr:hover {
            transform: translateY(-1px);
            background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 55%), rgba(15, 23, 42, 0.98);
            box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
        }

    .smb-table td {
        padding: 0.45rem 0.6rem;
        border-bottom: 1px solid transparent;
        vertical-align: middle;
    }

/* file name column */
.smb-file-name {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.smb-file-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.4), transparent 55%), #020617;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* type tag / badges */
.smb-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
}

.smb-tag--docx {
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(30, 64, 175, 0.9);
}

.smb-tag--pdf {
    border-color: rgba(248, 113, 113, 0.9);
    background: rgba(185, 28, 28, 0.95);
}

.smb-tag--img {
    border-color: rgba(52, 211, 153, 0.9);
    background: rgba(6, 95, 70, 0.96);
}

/* Actions cell / preview button */
.smb-actions-cell {
    text-align: center;
    vertical-align: middle;
}

.smb-preview-btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.98);
    color: #e5e7eb;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.12s ease-out, transform 0.1s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
}

    .smb-preview-btn:hover {
        background: rgba(56, 189, 248, 0.92);
        color: #0f172a;
        border-color: rgba(56, 189, 248, 1);
        box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
        transform: translateY(-1px);
    }

/* Floating download button inside preview modal */
.smb-floating-download-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 50;
    backdrop-filter: blur(8px);
    transition: background 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.1s ease-out, border-color 0.12s ease-out;
}

    .smb-floating-download-btn:hover {
        background: linear-gradient(135deg, #2563eb, #06b6d4);
        border-color: rgba(191, 219, 254, 0.95);
        color: #f9fafb;
        box-shadow: 0 0 24px rgba(37, 99, 235, 0.95);
        transform: translateY(-1px);
    }

/* ============================================================
   RESPONSIVE (small screens)
   ============================================================ */

@media (max-width: 992px) {
    body.app-body {
        overflow-y: auto; /* allow full-page scroll on smaller screens */
    }

    .body-content {
        height: auto;
    }

    .dashboard-shell {
        height: auto;
        min-height: 100vh;
    }

    .dashboard-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 1.5rem 0.85rem;
    }

    .dashboard-sidebar {
        width: 100%;
        max-width: none;
    }

    .dashboard-main {
        padding: 1.3rem 1.1rem;
        min-height: 320px;
    }

    .dashboard-sidebar-scroll,
    .dashboard-scroll-area {
        max-height: none;
    }

    .smb-panel {
        padding: 0.85rem 0.85rem;
    }

    .smb-table {
        font-size: 0.78rem;
    }
    /* ============================================================
   Admin – Users page styling (AlpagoTech)
   ============================================================ */

    .admin-users-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .admin-users-title {
        font-size: 1.75rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        color: #e5e7eb;
    }

    .admin-users-subtitle {
        font-size: 0.85rem;
        color: #9ca3af;
    }

    .admin-users-toolbar .btn {
        border-radius: 999px;
        padding-inline: 1rem;
        box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
    }

    /* Card shell */

    .admin-users-card {
        border-radius: 18px;
        background: radial-gradient(circle at top left, #020617 0, #020617 60%);
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(20px);
    }

    /* Table styling */

    .admin-users-table thead th {
        background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
        border-bottom-color: rgba(148, 163, 184, 0.6);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.09em;
        color: #9ca3af;
    }

    .admin-users-table tbody tr {
        transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }

        .admin-users-table tbody tr:nth-child(even) {
            background-color: rgba(15, 23, 42, 0.6);
        }

        .admin-users-table tbody tr:hover {
            background-color: rgba(15, 23, 42, 0.95);
            transform: translateY(-1px);
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.85);
        }

    /* Roles pill */

    .admin-users-role-pill {
        display: inline-flex;
        align-items: center;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 0.75rem;
        background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0.05));
        color: #e5e7eb;
        border: 1px solid rgba(56, 189, 248, 0.6);
        backdrop-filter: blur(10px);
    }

    /* Action buttons */

    .admin-users-actions .btn {
        border-radius: 999px;
        padding-inline: 0.75rem;
    }

    .admin-users-actions .btn-outline-primary {
        border-color: rgba(59, 130, 246, 0.6);
        color: #bfdbfe;
    }

        .admin-users-actions .btn-outline-primary:hover {
            background: rgba(59, 130, 246, 0.16);
            border-color: #60a5fa;
            color: #eff6ff;
        }

    .admin-users-actions .btn-outline-danger {
        border-color: rgba(248, 113, 113, 0.6);
        color: #fecaca;
    }

        .admin-users-actions .btn-outline-danger:hover {
            background: rgba(248, 113, 113, 0.16);
            border-color: #f87171;
            color: #fee2e2;
        }

    /* Responsive tweaks */

    @media (max-width: 768px) {
        .admin-users-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .admin-users-title {
            font-size: 1.4rem;
        }

        .admin-users-card {
            border-radius: 16px;
        }

        .admin-users-table thead th {
            font-size: 0.7rem;
        }
    }
}

/* ============================================================
   Notifications – Expiry Reminders & Categories (AlpagoTech)
   Luxury, High-Contrast, Creative
   ============================================================ */

/* Page header */
.notifications-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    position: relative;
}

    .notifications-header::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 140px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #38bdf8, #a855f7, transparent);
        opacity: 0.9;
    }

.notifications-title {
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f9fafb;
}

.notifications-subtitle {
    font-size: 0.9rem;
    color: #cbd5f5;
    opacity: 0.82;
}

/* Primary actions */
.notifications-toolbar .btn {
    border-radius: 999px;
    padding-inline: 1.1rem;
    box-shadow: 0 14px 34px rgba(56, 189, 248, 0.38);
    font-size: 0.82rem;
}

/* Layout: left = categories, right = reminders */
.notifications-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: flex-start;
}

/* Categories card */
.notifications-categories-card {
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 60%), radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.18), transparent 55%), rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.96);
    padding: 0.95rem 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

    .notifications-categories-card::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.22), transparent 55%);
        opacity: 0.35;
    }

.notifications-categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.notifications-categories-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.notifications-categories-actions .btn {
    border-radius: 999px;
    padding-inline: 0.7rem;
    font-size: 0.7rem;
}

/* Categories list */
.notifications-category-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
}

.notifications-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.48rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #e5e7eb;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(51, 65, 85, 0.9);
    transition: background 0.14s ease-out, border-color 0.14s ease-out, transform 0.12s ease-out, box-shadow 0.14s ease-out;
}

    .notifications-category-item:hover {
        background: radial-gradient(circle at left, rgba(56, 189, 248, 0.32), transparent 65%), rgba(15, 23, 42, 0.98);
        border-color: rgba(59, 130, 246, 0.95);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.96);
        transform: translateY(-1px);
    }

    .notifications-category-item.active {
        background: radial-gradient(circle at left, rgba(59, 130, 246, 0.45), transparent 60%), linear-gradient(135deg, #1d4ed8, #38bdf8);
        border-color: rgba(191, 219, 254, 0.98);
        color: #f9fafb;
        box-shadow: 0 18px 46px rgba(37, 99, 235, 0.95);
    }

.notifications-category-name {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.notifications-category-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}

.notifications-category-count {
    font-size: 0.7rem;
    padding: 0.14rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.9);
    color: #e5e7eb;
}

/* Right side – reminders list */
.notifications-list-card {
    border-radius: 20px;
    background: radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.26), transparent 65%), radial-gradient(circle at 0 100%, rgba(129, 140, 248, 0.22), transparent 60%), rgba(8, 11, 26, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.48);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
    padding: 1rem 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

    .notifications-list-card::before {
        content: "";
        position: absolute;
        inset-inline: 18%;
        top: -40px;
        height: 80px;
        background: radial-gradient(circle, rgba(248, 250, 252, 0.15), transparent 70%);
        opacity: 0.55;
        pointer-events: none;
    }

.notifications-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.notifications-list-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f9fafb;
}

.notifications-list-meta {
    font-size: 0.8rem;
    color: #cbd5f5;
    opacity: 0.9;
}

/* Filters on top of list */
.notifications-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

    .notifications-filters .form-select,
    .notifications-filters .form-control {
        background: rgba(15, 23, 42, 0.98);
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.9);
        color: #e5e7eb;
        font-size: 0.78rem;
        padding-inline: 0.9rem;
    }

        .notifications-filters .form-select::placeholder,
        .notifications-filters .form-control::placeholder {
            color: rgba(148, 163, 184, 0.9);
        }

        .notifications-filters .form-select:focus,
        .notifications-filters .form-control:focus {
            outline: none;
            border-color: rgba(56, 189, 248, 0.98);
            box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.75);
        }

/* Table for notifications */
.notifications-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

    .notifications-table thead th {
        font-size: 0.74rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: #9ca3af;
        padding: 0.4rem 0.6rem;
        border-bottom: 1px solid rgba(55, 65, 81, 0.9);
        background: rgba(15, 23, 42, 0.98);
    }

    .notifications-table tbody tr {
        background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.2), transparent 55%), rgba(15, 23, 42, 0.98);
        border-radius: 999px;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
        transition: background 0.14s ease-out, transform 0.12s ease-out, box-shadow 0.14s ease-out;
    }

        .notifications-table tbody tr:hover {
            background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.28), transparent 55%), rgba(15, 23, 42, 0.98);
            transform: translateY(-1px);
            box-shadow: 0 16px 36px rgba(15, 23, 42, 0.95);
        }

    .notifications-table td {
        padding: 0.45rem 0.6rem;
        vertical-align: middle;
        border-bottom: 1px solid transparent;
        color: #e5e7eb;
    }

/* Name + domain column */
.notifications-name-main {
    font-size: 0.84rem;
    font-weight: 500;
    color: #f9fafb;
}

.notifications-name-sub {
    font-size: 0.74rem;
    color: #cbd5f5;
    opacity: 0.9;
}

/* Status pill */
.notifications-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
    font-size: 0.72rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
}

.notifications-status-pill--active {
    border-color: rgba(34, 197, 94, 0.95);
    background: rgba(22, 101, 52, 0.98);
    color: #dcfce7;
}

.notifications-status-pill--paused {
    border-color: rgba(250, 204, 21, 0.95);
    background: rgba(120, 53, 15, 0.96);
    color: #fef3c7;
}

.notifications-status-pill--expired {
    border-color: rgba(248, 113, 113, 0.98);
    background: rgba(127, 29, 29, 0.97);
    color: #fee2e2;
}

/* Next run / expiry badges */
.notifications-next-run {
    font-size: 0.74rem;
    color: #e5e7eb;
    opacity: 0.92;
}

    .notifications-next-run span {
        opacity: 0.88;
    }

.notifications-expiry-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.16rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(30, 64, 175, 0.97);
    border: 1px solid rgba(129, 140, 248, 0.98);
    color: #e0e7ff;
}

.notifications-expiry-pill--soon {
    background: rgba(185, 28, 28, 0.97);
    border-color: rgba(248, 113, 113, 0.98);
    color: #fee2e2;
}

/* Actions */
.notifications-actions {
    display: flex;
    gap: 0.3rem;
    justify-content: flex-end;
}

    .notifications-actions .btn {
        border-radius: 999px;
        padding-inline: 0.7rem;
        font-size: 0.74rem;
    }

/* Small legend chips */
.notifications-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #9ca3af;
}

.notifications-legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.12rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.75);
    color: #e5e7eb;
}

/* Form card (Create/Edit) */
.notifications-form-card {
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 55%), rgba(8, 11, 26, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.86);
    padding: 1rem 1.1rem 0.9rem;
    color: #e5e7eb;
}

    .notifications-form-card .form-label {
        font-size: 0.76rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: #cbd5f5;
        opacity: 0.95;
    }

    .notifications-form-card .form-control,
    .notifications-form-card .form-select {
        background: rgba(15, 23, 42, 0.98);
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.85);
        color: #e5e7eb;
        font-size: 0.84rem;
    }

        .notifications-form-card .form-control::placeholder {
            color: rgba(148, 163, 184, 0.9);
        }

        .notifications-form-card .form-control:focus,
        .notifications-form-card .form-select:focus {
            outline: none;
            border-color: rgba(56, 189, 248, 0.98);
            box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.78);
        }

/* Responsive */
@media (max-width: 992px) {
    .notifications-layout {
        grid-template-columns: 1fr;
    }

    .notifications-categories-card {
        order: 2;
    }

    .notifications-list-card {
        order: 1;
    }
}

@media (max-width: 768px) {
    .notifications-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .notifications-title {
        font-size: 1.25rem;
    }
}
/* ============================================================
   AlpagoTech – Assets: List, Forms, Details
   ============================================================ */

.assets-page {
    color: #e5e7eb;
}

/* HEADER */

.assets-title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.assets-subtitle {
    font-size: 0.84rem;
    color: #9ca3af;
    max-width: 520px;
}

.assets-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
}

.assets-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

/* KPI CARDS */

.assets-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.assets-kpi-card {
    min-width: 120px;
    padding: 0.55rem 0.75rem;
    border-radius: 14px;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.22), transparent 55%), rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
}

.assets-kpi-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.assets-kpi-value {
    margin-top: 0.1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

/* FILTERS */

.assets-filters-card {
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 60%), rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
}

.assets-filter-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
}

.assets-filter-input {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
    font-size: 0.8rem;
}

    .assets-filter-input::placeholder {
        color: rgba(148, 163, 184, 0.8);
    }

    .assets-filter-input:focus {
        outline: none;
        border-color: rgba(56, 189, 248, 0.95);
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.8);
    }

/* TABLE CARD */

.assets-table-card {
    border-radius: 22px;
    background: radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.25), transparent 60%), rgba(8, 11, 26, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.assets-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #e5e7eb;
}

    .assets-table thead {
        background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
    }

        .assets-table thead th {
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: #9ca3af;
            padding: 0.55rem 0.75rem;
            border-bottom: 1px solid rgba(55, 65, 81, 0.9);
            white-space: nowrap;
        }

    .assets-table tbody tr {
        transition: background 0.16s ease-out, transform 0.12s ease-out, box-shadow 0.16s ease-out;
    }

        .assets-table tbody tr:nth-child(odd) {
            background: rgba(15, 23, 42, 0.96);
        }

        .assets-table tbody tr:nth-child(even) {
            background: rgba(17, 24, 39, 0.96);
        }

        .assets-table tbody tr:hover {
            background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%), rgba(15, 23, 42, 0.98);
            transform: translateY(-1px);
            box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
        }

    .assets-table td {
        padding: 0.65rem 0.75rem;
        border-bottom: 1px solid rgba(31, 41, 55, 0.9);
        vertical-align: middle;
    }

/* column types */

.assets-col-tag .assets-tag {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.assets-col-tag .assets-serial {
    font-size: 0.74rem;
    color: #9ca3af;
}

.assets-type-pill {
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #cbd5f5;
}

.assets-make {
    font-size: 0.82rem;
}

.assets-model {
    font-size: 0.74rem;
}

/* STATUS */

.assets-status-form {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.assets-status-select {
    min-width: 120px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.85);
    color: #e5e7eb;
    font-size: 0.78rem;
}

    .assets-status-select:focus {
        outline: none;
        border-color: rgba(56, 189, 248, 0.95);
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
    }

.assets-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.16rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: rgba(15, 23, 42, 0.98);
}

/* per-status colors */

.assets-status-forissuing .assets-status-dot,
.assets-status-forissuing {
    border-color: rgba(45, 212, 191, 0.9);
    background: rgba(15, 118, 110, 0.96);
}

.assets-status-inuse .assets-status-dot,
.assets-status-inuse {
    border-color: rgba(34, 197, 94, 0.9);
    background: rgba(22, 101, 52, 0.96);
}

.assets-status-returned .assets-status-dot,
.assets-status-returned {
    border-color: rgba(148, 163, 184, 0.9);
    background: rgba(31, 41, 55, 0.96);
}

.assets-status-notreturned .assets-status-dot,
.assets-status-notreturned {
    border-color: rgba(234, 179, 8, 0.95);
    background: rgba(113, 63, 18, 0.96);
}

.assets-status-damaged .assets-status-dot,
.assets-status-damaged {
    border-color: rgba(248, 113, 113, 0.98);
    background: rgba(127, 29, 29, 0.96);
}

/* OPTIONAL row tint for risk states */

.assets-row-notreturned {
    box-shadow: inset 4px 0 0 rgba(234, 179, 8, 0.9);
}

.assets-row-damaged {
    box-shadow: inset 4px 0 0 rgba(248, 113, 113, 0.95);
}

/* ACTIONS */

.assets-actions .btn {
    border-radius: 999px;
    font-size: 0.78rem;
}

.assets-btn-outline {
    border-color: rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: transparent;
}

    .assets-btn-outline:hover {
        background: rgba(56, 189, 248, 0.1);
        border-color: rgba(56, 189, 248, 0.9);
    }

/* PAGINATION */

.assets-pagination-footer {
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.assets-pagination .page-link {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: #e5e7eb;
    font-size: 0.78rem;
}

    .assets-pagination .page-link:hover {
        background: rgba(56, 189, 248, 0.12);
        border-color: rgba(56, 189, 248, 0.9);
    }

/* FORMS (CREATE / EDIT / ASSIGN) */

.assets-form-card {
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 60%), rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.96);
}

.assets-form-card-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    border-bottom-color: rgba(55, 65, 81, 0.9);
}

.assets-form-card-body {
    font-size: 0.85rem;
}

.assets-form-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

.assets-form-input {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.85);
    color: #e5e7eb;
    font-size: 0.85rem;
}

    .assets-form-input:focus {
        outline: none;
        border-color: rgba(56, 189, 248, 0.98);
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.8);
    }

.assets-form-hint {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: #9ca3af;
}

.assets-form-footer .btn {
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.8);
}

/* DETAILS PAGE */

.assets-details-header .assets-status-pill {
    margin-left: 0.3rem;
}

.assets-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.assets-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #cbd5f5;
}

.assets-dl dt {
    font-size: 0.78rem;
    color: #9ca3af;
}

.assets-dl dd {
    font-size: 0.86rem;
}

/* QR */

.assets-qr-wrapper {
    display: inline-flex;
    padding: 0.6rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px dashed rgba(148, 163, 184, 0.7);
}

.assets-qr-img {
    max-width: 220px;
    height: auto;
}

/* HISTORY */

.assets-history-table thead th {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
    border-bottom: 1px solid rgba(55, 65, 81, 0.9);
}

.assets-history-table tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.9);
}

.assets-history-table tbody tr:nth-child(even) {
    background: rgba(17, 24, 39, 0.9);
}

.assets-history-table td {
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

/* SUMMARY CARD ON ASSIGN */

.assets-summary-card {
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.26), transparent 60%), rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
}

.assets-summary-tag {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.assets-summary-type {
    font-size: 0.78rem;
    color: #9ca3af;
}

.assets-summary-make {
    font-size: 0.86rem;
}

/* Responsive tweaks */

@media (max-width: 992px) {
    .assets-table-card {
        border-radius: 16px;
    }
}

/* ===========================================================
   EMPLOYEES MODULE – ULTRA LUXURY, FITS MAIN UI BOX
=========================================================== */

:root {
    --emp-bg-card: #050b1f;
    --emp-bg-card-soft: #070f2a;
    --emp-border: #1f2937;
    --emp-gold: #facc15;
    --emp-gold-soft: rgba(250, 204, 21, 0.16);
    --emp-text-main: #e5e7eb;
    --emp-text-muted: #9ca3af;
    --emp-info: #38bdf8;
    --emp-danger: #f97373;
}

/* WRAPPER */
.emp-page {
    margin-top: 24px;
    margin-bottom: 40px;
}

/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */

.emp-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(3, 7, 18, 0.98));
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 1);
}

.emp-header-main {
    max-width: 520px;
}

.emp-header-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emp-text-muted);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: linear-gradient(90deg, rgba(15,23,42,0.98), rgba(15,23,42,0.5));
}

.emp-header-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0 4px;
    color: var(--emp-text-main);
}

.emp-header-subtitle {
    font-size: 0.92rem;
    color: var(--emp-text-muted);
    margin-bottom: 10px;
}

.emp-header-actions {
    margin-top: 8px;
}

/* Metrics */
.emp-header-metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    min-width: 210px;
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(15, 118, 110, 0.16), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.emp-metric {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.emp-metric-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emp-text-muted);
}

.emp-metric-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--emp-gold);
}

/* -----------------------------------------------------------
   DIRECTORY CARD & TABLE
----------------------------------------------------------- */

.emp-section {
    margin-top: 20px;
}

.emp-card {
    background: radial-gradient(circle at top left, var(--emp-bg-card-soft), var(--emp-bg-card));
    border-radius: 20px;
    border: 1px solid var(--emp-border);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(15, 23, 42, 0.9);
    padding: 18px 18px 10px;
}

.emp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.emp-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--emp-text-main);
    margin-bottom: 2px;
}

.emp-card-subtitle {
    font-size: 0.85rem;
    color: var(--emp-text-muted);
    margin-bottom: 0;
}

/* scrollable area */
.emp-table-scroll {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.9);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* table itself */
.emp-table {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--emp-text-main);
    background-color: transparent;
    min-width: 900px; /* allows horizontal scroll on small viewports */
}

    .emp-table thead tr {
        background: linear-gradient(90deg, #020617 0%, #0b1850 25%, #12306f 60%, #1d4ed8 100%);
    }

    .emp-table thead th {
        border: none;
        padding: 10px 14px;
        font-weight: 600;
        color: var(--emp-gold);
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .emp-table tbody tr {
        background: #050b1f;
        border-bottom: 1px solid rgba(15, 23, 42, 0.9);
        transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }

        .emp-table tbody tr:hover {
            background: linear-gradient(90deg, rgba(15,23,42,0.98), rgba(17,24,39,0.96), rgba(37,99,235,0.5));
            transform: translateY(-1px);
            box-shadow: 0 14px 34px rgba(15, 23, 42, 0.96);
        }

    .emp-table td {
        padding: 10px 14px;
        border: none;
        vertical-align: middle;
    }

/* cells & pills */
.emp-cell-code {
    width: 130px;
}

.emp-pill-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: radial-gradient(circle at top left, var(--emp-gold-soft), #020617);
    border: 1px solid rgba(250, 204, 21, 0.7);
    color: var(--emp-gold);
}

.emp-cell-name {
    font-weight: 600;
    color: var(--emp-text-main);
}

.emp-pill-role,
.emp-pill-dept {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--emp-text-muted);
}

.emp-pill-dept {
    border-color: rgba(56, 189, 248, 0.7);
    color: #bae6fd;
}

/* email & muted text */
.emp-link-mail {
    font-size: 0.84rem;
    color: #bfdbfe;
    text-decoration: none;
}

    .emp-link-mail:hover {
        text-decoration: underline;
    }

.emp-text-muted {
    font-size: 0.82rem;
    color: var(--emp-text-muted);
}

/* badges */
.emp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 115px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.emp-badge-device {
    background: rgba(34,197,94,0.13);
    border-color: rgba(34,197,94,0.65);
    color: #bbf7d0;
}

.emp-badge-nodevice {
    background: rgba(148,163,184,0.14);
    border-color: rgba(148,163,184,0.6);
    color: var(--emp-text-muted);
}

/* -----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */

.emp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.14s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.emp-btn-icon {
    font-size: 1rem;
}

/* gold button */
.emp-btn-add,
.emp-btn-primary {
    background: linear-gradient(90deg, #facc15, #eab308);
    color: #000;
    border: none;
    box-shadow: 0 12px 26px rgba(250, 204, 21, 0.5);
}

    .emp-btn-add:hover,
    .emp-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 36px rgba(250, 204, 21, 0.6);
    }

/* glass button */
.emp-btn-ghost {
    background: #020617;
    border-color: rgba(148, 163, 184, 0.45);
    color: var(--emp-text-main);
}

    .emp-btn-ghost:hover {
        border-color: var(--emp-gold);
        color: var(--emp-gold);
        transform: translateY(-1px);
    }

/* variants */
.emp-btn-edit {
    border-color: rgba(148, 163, 184, 0.6);
}

.emp-btn-assign {
    border-color: rgba(56,189,248,0.85);
    color: #bae6fd;
}

    .emp-btn-assign:hover {
        background: rgba(56,189,248,0.2);
    }

.emp-btn-delete {
    border-color: rgba(248,113,113,0.85);
    color: #fecaca;
}

    .emp-btn-delete:hover {
        background: rgba(248,113,113,0.2);
    }

.emp-actions {
    display: inline-flex;
    gap: 6px;
}

/* -----------------------------------------------------------
   EMPTY STATE
----------------------------------------------------------- */

.emp-empty {
    text-align: center;
    padding: 60px 24px;
    border-radius: 20px;
    background: radial-gradient(circle at top, #020617, #000000);
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 20px 60px rgba(15,23,42,1);
}

.emp-empty-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.emp-empty-title {
    font-size: 1.2rem;
    color: var(--emp-text-main);
    margin-bottom: 6px;
}

.emp-empty-text {
    font-size: 0.9rem;
    color: var(--emp-text-muted);
    max-width: 420px;
    margin: 0 auto 18px;
}

/* -----------------------------------------------------------
   FORMS (Create / Edit) – FIX DARK TEXT
----------------------------------------------------------- */

.emp-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}

.emp-form-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--emp-text-main);
    margin-top: 8px;
    margin-bottom: 4px;
}

.emp-form-subtitle {
    font-size: 0.9rem;
    color: var(--emp-text-muted);
    max-width: 520px;
}

.emp-form-card {
    margin-top: 10px;
}

.emp-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.emp-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--emp-text-muted);
}

/* fix dark text on dark bg in Create/Edit */
.emp-page .form-control {
    background: #020617;
    border-radius: 10px;
    border: 1px solid rgba(31, 41, 55, 0.95);
    color: var(--emp-text-main);
    font-size: 0.9rem;
}

    .emp-page .form-control:focus {
        border-color: var(--emp-gold);
        box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.5);
        background: #020617;
    }

    .emp-page .form-control::placeholder {
        color: #64748b;
    }

.emp-validation {
    font-size: 0.78rem;
    color: #fecaca;
}

.emp-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */

@media (max-width: 768px) {
    .emp-header {
        flex-direction: column;
    }

    .emp-header-metrics {
        flex-direction: row;
        justify-content: space-between;
    }

        .emp-header-metrics .emp-metric {
            flex-direction: column;
            align-items: flex-start;
        }

    .emp-table {
        min-width: 700px;
    }

    .emp-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

