:root {
    --bg-black: #0a0a0a;
    --bg-card: #141414;
    --bg-sidebar: #000000;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --neon-green: #39FF14;
    --neon-green-glow: rgba(57, 255, 20, 0.2);
    --border-color: #262626;
    --urgent-red: #ff4444;
    --warning-amber: #ffaa00;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --sidebar-width: 240px;
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
    border-top: 2px solid var(--neon-green);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Sidebar --- */
aside {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.logo-container {
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-image:hover {
    filter: drop-shadow(0 0 8px var(--neon-green-glow));
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

nav {
    flex: 1;
    padding: 1rem 0.75rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.nav-item.active {
    background: var(--neon-green-glow);
    color: var(--neon-green);
    border-left: 2px solid var(--neon-green);
}

.nav-item svg {
    width: 18px;
    height: 18px;
}

/* --- Main Content --- */
main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - var(--sidebar-width));
}

/* --- Top Bar --- */
header {
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--bg-black);
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.garage-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.tier-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 8px;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 4px;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.live-clock {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--urgent-red);
    border-radius: 50%;
    border: 2px solid var(--bg-black);
}

/* --- Content Area --- */
.content-body {
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Grid & Cards --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.08);
}

.stat-card.active {
    border-color: var(--neon-green) !important;
    box-shadow: 0 0 15px var(--neon-green-glow) !important;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.stat-trend {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.trend-up { color: var(--neon-green); }
.trend-down { color: var(--urgent-red); }

.briefing-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.08);
    transition: var(--transition);
}

.briefing-card:hover {
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.12);
}

@keyframes borderPulse {
    0% { box-shadow: 0 0 5px var(--neon-green); }
    50% { box-shadow: 0 0 20px var(--neon-green); }
    100% { box-shadow: 0 0 5px var(--neon-green); }
}

.briefing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    animation: borderPulse 3s infinite;
}

.briefing-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.briefing-card p {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 750px;
    font-size: 1.05rem;
}

.briefing-card strong {
    color: var(--text-white);
    font-weight: 600;
}

/* --- Tables --- */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

th {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

th:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-mono);
    display: inline-block;
}

.badge-green { background: rgba(57, 255, 20, 0.1); color: var(--neon-green); border: 1px solid var(--neon-green); }
.badge-amber { background: rgba(255, 170, 0, 0.1); color: var(--warning-amber); border: 1px solid var(--warning-amber); }
.badge-red { background: rgba(255, 68, 68, 0.1); color: var(--urgent-red); border: 1px solid var(--urgent-red); }

/* --- Weekly Diary --- */
.diary-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 2rem;
}

.diary-day {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.diary-day:hover {
    border-color: #444;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.08);
}

.diary-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.diary-name { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.diary-date { font-size: 1.1rem; font-weight: 700; font-family: var(--font-mono); margin-top: 4px; }

.diary-jobs {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-card {
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    border-left: 3px solid var(--neon-green);
    transition: var(--transition);
    cursor: pointer;
}

.job-card:hover {
    background: #222;
    transform: translateX(2px);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.job-time { font-family: var(--font-mono); color: var(--neon-green); margin-bottom: 4px; font-weight: 700; }
.job-type { font-weight: 600; margin-bottom: 4px; color: var(--text-white); }
.job-reg { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.7rem; }

/* --- Charts --- */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    height: 320px;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding-top: 4rem;
    position: relative;
}

.bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    background: var(--neon-green);
    border-radius: 4px 4px 0 0;
    transition: height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.bar:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.bar-label {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.bar-value {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
}

/* --- Customer Profile & Timeline --- */
.customer-expand {
    background: #000 !important;
    padding: 0 !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    animation: slideDown 0.3s ease-out;
}

.customer-expand .drawer-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

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

.timeline {
    position: relative;
    padding-left: 24px;
    border-left: 1px solid #333;
    margin-left: 8px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.timeline-item .timeline-content {
    line-height: 1.8;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    top: 4px;
    width: 9px;
    height: 9px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green-glow);
}

.timeline-dot.past { background: #444; box-shadow: none; }

/* --- ROI Hero --- */
.roi-hero:hover {
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15);
}

.roi-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--neon-green);
    font-family: var(--font-mono);
    margin: 1rem 0;
    text-shadow: 0 0 20px var(--neon-green-glow);
}

/* --- Form Styling --- */
.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.settings-card:hover {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.form-input {
    background: #000;
    border: 1px solid #333;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    width: 100%;
    font-family: var(--font-sans);
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-input:focus {
    border-color: var(--neon-green);
    outline: none;
    box-shadow: 0 0 15px var(--neon-green-glow);
    background: rgba(57, 255, 20, 0.02);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2339FF14'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

input[type="date"].form-input,
input[type="time"].form-input {
    color-scheme: dark;
}

input[type="checkbox"] {
    accent-color: var(--neon-green);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

input[type="text"], input[type="email"], input[type="number"], select, textarea {
    background: #000;
    border: 1px solid #333;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    width: 100%;
    font-family: var(--font-sans);
    transition: var(--transition);
}

input:focus { border-color: var(--neon-green); outline: none; }

.btn-primary {
    background: var(--neon-green);
    color: black;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 800;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover { transform: scale(1.02); box-shadow: 0 0 15px var(--neon-green-glow); }

.btn-outline {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 800;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--neon-green-glow);
    box-shadow: 0 0 15px var(--neon-green-glow);
    transform: translateY(-2px);
}

.btn-outline-danger {
    background: transparent;
    color: var(--urgent-red);
    border: 1px solid var(--urgent-red);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 800;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-danger:hover {
    background: rgba(255, 68, 68, 0.1);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* --- MOT Status --- */
.mot-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.mot-indicator.sent { color: var(--neon-green); }

/* --- Message Expansion --- */
.message-row { cursor: pointer; transition: var(--transition); }
.message-row:hover { background: rgba(255,255,255,0.03); }
.message-full {
    padding: 1.5rem;
    background: #000;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    color: var(--text-muted);
    line-height: 1.6;
    white-space: pre-wrap;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: var(--neon-green); }
input:checked + .slider:before { transform: translateX(26px); }

/* --- SMS Bubble --- */
.sms-bubble {
    background: #262626;
    padding: 1.5rem;
    border-radius: 18px 18px 18px 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e0e0e0;
    max-width: 400px;
    line-height: 1.5;
    position: relative;
    margin-top: 1rem;
}

.sms-bubble::after {
    content: "17:00 • Delivered";
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--neon-green);
    color: black;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 800;
    font-family: var(--font-mono);
    box-shadow: 0 0 20px var(--neon-green-glow);
    z-index: 1000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .diary-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .diary-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    aside { width: 70px; }
    .logo-text, .logo-tagline, .nav-item span { display: none; }
    main { margin-left: 70px; width: calc(100% - 70px); }
    .stats-row { grid-template-columns: 1fr 1fr; }
    header { padding: 0 1rem; }
}

@media (max-width: 600px) {
    .drawer-overlay {
        padding: 0.75rem;
    }
    .drawer-content {
        border-radius: 12px;
    }
    .drawer-body {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* --- Status Dot --- */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(57, 255, 20, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

/* --- Notification Panel --- */
.notification-panel {
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-panel.active {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.02);
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(255,255,255,0.05);
}

.notification-item:last-child {
    border-bottom: none;
}

/* --- Clickable Table Rows --- */
.clickable-row {
    cursor: pointer;
    transition: var(--transition);
}

.clickable-row:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* --- Centered Modal --- */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

.drawer-content {
    width: 100%;
    max-width: 800px;
    max-height: 100%;
    background: #141414;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    animation: modalAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.drawer-content > div:not(.drawer-body) {
    flex-shrink: 0;
}

.drawer-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.drawer-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.drawer-body {
    padding: 2.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    flex: 1 1 auto;
    min-height: 0;
}

.drawer-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.2);
    gap: 0.75rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
}

.detail-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.detail-notes {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    white-space: pre-wrap;
}

/* Animations */
@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* --- User Profile & Logout --- */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-color);
}

/* --- Interactive Elements --- */
.clickable-row {
    cursor: pointer;
    transition: all 0.2s ease;
}

.clickable-row:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--neon-green-glow);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.user-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.logout-btn:hover {
    background: rgba(255, 68, 68, 0.1);
    color: var(--urgent-red);
}

.logout-btn svg {
    width: 18px;
    height: 18px;
}
