/* --- ZZ_Brain Modern Design System (Glassmorphism Dark) --- */

:root {
    --bg-main: #070b19;
    --bg-gradient: linear-gradient(135deg, #070b19 0%, #0d152b 50%, #152244 100%);
    --bg-glass: rgba(18, 30, 61, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --violet: #8b5cf6;
    --violet-glow: rgba(139, 92, 246, 0.4);
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.25);
    
    --sidebar-width: 260px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Scrollbar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-main);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* --- Layout Container --- */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(8, 14, 30, 0.7);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    z-index: 100;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-left: 8px;
}

.logo-icon {
    font-size: 26px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text .badge {
    font-size: 10px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 1px 6px;
    border-radius: 8px;
    vertical-align: middle;
    margin-left: 4px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.menu-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
}

.menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.menu-item.active {
    color: var(--text-primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.2);
}

.menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 3px;
    background: var(--cyan);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 8px var(--cyan);
}

.notification-badge {
    position: absolute;
    right: 16px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.sidebar-footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.footer-title {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.pulse-green {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.status-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Main Content Layout --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

/* --- Topbar --- */
.topbar {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 11, 25, 0.3);
    backdrop-filter: blur(10px);
}

#page-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- Modern Dropdown Selector --- */
.role-selector-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 12px;
}

.role-selector-container label {
    font-size: 12px;
    font-weight: 500;
    color: var(--cyan);
}

.select-modern {
    background: #0f172a;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.select-modern:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-glow);
}

/* --- Views Container --- */
.view-container {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-view {
    display: none;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.4s ease-out forwards;
}

.app-view.active {
    display: flex;
}

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

/* --- Common UI Components (Cards, Buttons, Form fields) --- */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
}

.glass-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    margin-top: -6px;
}

.text-cyan { color: var(--cyan); }
.text-violet { color: var(--violet); }

/* Buttons */
.btn {
    border: none;
    outline: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--cyan-glow);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px var(--cyan-glow), 0 0 10px var(--violet-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon-text {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
}

.btn-icon-text:hover {
    color: var(--text-primary);
    border-color: var(--border-glass-hover);
    background: rgba(255, 255, 255, 0.06);
}

.btn-full-width {
    width: 100%;
}

/* Modern Form Elements */
.form-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-modern input[type="text"],
.form-modern select,
.form-modern textarea {
    background: rgba(8, 14, 30, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-modern input[type="text"]:focus,
.form-modern select:focus,
.form-modern textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-glow);
    background: rgba(8, 14, 30, 0.8);
}

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }

/* --- 1. Dashboard View Styles --- */
.dashboard-hero {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.07) 0%, rgba(139, 92, 246, 0.07) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    right: -10%;
    top: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, rgba(6, 182, 212, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.dashboard-hero h2 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.dashboard-hero p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 700px;
    z-index: 1;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    z-index: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.dashboard-grid ul,
.dashboard-grid ol {
    margin-left: 20px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-grid li {
    margin-bottom: 8px;
}

.demo-steps li em {
    color: var(--cyan);
    font-style: normal;
    font-weight: 500;
}

.demo-steps li span {
    display: block;
    margin-top: 2px;
}

/* --- 2. Tasks Page Styles --- */
.tasks-board-container {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tasks-empty {
    padding: 60px 0;
    color: var(--text-dark);
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.loader-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--cyan);
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.task-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
}

.task-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.task-title-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.status-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.status-tag.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-tag.in_progress {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.status-tag.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.task-desc-text {
    font-size: 13px;
    color: var(--text-muted);
    min-height: 40px;
}

.task-meta {
    font-size: 11px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 10px;
}

.task-meta span strong {
    color: var(--text-muted);
}

/* Task Updates list inside card */
.task-updates-mini-list {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
}

.update-item {
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 4px;
}
.update-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.task-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 6px;
    flex: 1;
}

.task-report-input-wrapper {
    display: flex;
    gap: 6px;
}
.task-report-input-wrapper input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 6px;
    flex: 1;
    outline: none;
}

.task-report-input-wrapper input:focus {
    border-color: var(--cyan);
}

/* --- 3. Data Query Page Styles --- */
.query-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

.template-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-card-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 14px;
    border-radius: 12px;
    text-align: left;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.template-card-btn:hover {
    border-color: var(--border-glass-hover);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.template-card-btn.active {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    color: var(--text-primary);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.15);
}

.template-card-btn h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.template-card-btn p {
    font-size: 11px;
    color: var(--text-dark);
}

.query-empty-term {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    color: var(--text-dark);
}

.active-template-info {
    border-left: 3px solid var(--cyan);
    padding-left: 12px;
    margin-bottom: 24px;
}

.active-template-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.active-template-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Query outputs table */
.query-result-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-divider {
    border-top: 1px dashed var(--border-glass);
    margin: 10px 0;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.status-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.table-scroll-container {
    overflow-x: auto;
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.table-modern {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.table-modern th {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
    padding: 12px 16px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
}

.table-modern td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.table-modern tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* Alerts */
.alert-box {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    animation: alertSlide 0.3s ease-out;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

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

/* --- 4. Knowledge Base Page Styles --- */
.kb-layout-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    height: calc(100vh - 200px);
}

.kb-docs-panel {
    display: flex;
    flex-direction: column;
}

/* Upload dropzone styling */
.upload-dropzone {
    border: 2px dashed var(--border-glass);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.15);
}

.upload-dropzone:hover {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.02);
}

.upload-dropzone input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.upload-dropzone:hover .upload-icon {
    color: var(--cyan);
}

.upload-dropzone p {
    font-size: 11px;
    color: var(--text-muted);
}

.mini-docs-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    max-height: 200px;
    margin-top: 10px;
}

.doc-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    font-size: 11px;
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.doc-info i {
    color: var(--cyan);
}

.doc-category-badge {
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet);
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 9px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Chat Terminal */
.kb-chat-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-terminal-messages {
    flex: 1;
    overflow-y: auto;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    background: rgba(8, 14, 30, 0.4);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-bubble.assistant {
    align-self: flex-start;
}

.chat-bubble.user {
    align-self: flex-end;
}

.bubble-content {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.chat-bubble.assistant .bubble-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
}

.chat-bubble.user .bubble-content {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    color: white;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.2);
}

/* Typewriter animation dynamic effect */
.typing-cursor::after {
    content: '▋';
    animation: blink 0.8s step-end infinite;
    color: var(--cyan);
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* RAG Citations output style */
.citations-box {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeIn 0.4s ease-out;
}

.citations-box-header {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.citation-chip {
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.citation-chip-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 4px;
}

.citation-text {
    font-style: italic;
    color: var(--text-muted);
}

.chat-terminal-footer {
    margin-top: 16px;
}

#chat-ask-form {
    display: flex;
    gap: 12px;
}

#chat-question-input {
    flex: 1;
    background: rgba(8, 14, 30, 0.6);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

#chat-question-input:focus {
    border-color: var(--cyan);
    background: rgba(8, 14, 30, 0.8);
    box-shadow: 0 0 6px var(--cyan-glow);
}

.btn-chat-send {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
}

/* --- 5. Notifications Page Styles --- */
.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.notification-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.notification-card.unread {
    background: rgba(6, 182, 212, 0.03);
    border-color: rgba(6, 182, 212, 0.2);
}

.notification-card.unread::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 20%;
    height: 60%;
    width: 3px;
    background: var(--cyan);
    border-radius: 0 4px 4px 0;
}

.notification-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-card.unread .notification-title {
    color: var(--cyan);
}

.notification-body {
    font-size: 12px;
    color: var(--text-muted);
}

.notification-time {
    font-size: 10px;
    color: var(--text-dark);
}

/* --- General Helper Styles --- */
.text-center { text-align: center; }
.admin-only-block { display: none; }
body.role-manager .admin-only-block,
body.role-super_admin .admin-only-block { display: block; }


/* --- Resilience Toast Notification (Glassmorphic) --- */
.resilience-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.resilience-toast {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    width: 360px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(239, 68, 68, 0.15);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.resilience-toast.toast-fade-out {
    animation: toastFadeOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.resilience-toast-icon {
    font-size: 20px;
    color: #f87171;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    animation: pulseGlow 2s infinite ease-in-out;
}

.resilience-toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resilience-toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #f87171;
    letter-spacing: 0.5px;
}

.resilience-toast-message {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.5;
}

.resilience-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
    transition: color 0.2s ease;
}

.resilience-toast-close:hover {
    color: #f1f5f9;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* --- 6. Admin Console Page Styles --- */
.admin-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}
.admin-layout-grid.mt-2 {
    grid-template-columns: 1fr;
}
.flex-full {
    width: 100%;
}
.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.input-help {
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 4px;
}
.badge-role {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 2px 6px;
    border-radius: 6px;
    color: var(--text-muted);
}
.text-right {
    text-align: right;
}

/* --- 7. BOT Workspace & Workflow Styles (Premium Glassmorphism) --- */
.bot-tabs-wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-glass);
    padding: 6px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.bot-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.bot-tab i {
    font-size: 16px;
}

.bot-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.bot-tab.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.3), 0 4px 15px rgba(6, 182, 212, 0.1);
}

.bot-workspace-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.bot-workspace-panel.active {
    display: block;
}

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

.bot-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1024px) {
    .bot-layout-grid {
        grid-template-columns: 1fr;
    }
}

.max-width-1000 {
    max-width: 1000px;
}

.margin-auto {
    margin: 0 auto;
}

.bot-card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

.bot-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-monitor-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.bot-tasks-loading, .bot-tasks-empty {
    padding: 40px 20px;
}

.bot-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Premium Card Design for Tasks */
.bot-task-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.bot-task-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.bot-task-card.status-completed {
    border-left: 4px solid var(--success);
}

.bot-task-card.status-in_progress {
    border-left: 4px solid var(--cyan);
}

.bot-task-card.status-submitted {
    border-left: 4px solid var(--violet);
}

.bot-task-card.status-routing {
    border-left: 4px solid var(--warning);
    animation: borderPulse 1.5s infinite;
}

@keyframes borderPulse {
    0%, 100% { border-left-color: var(--warning); }
    50% { border-left-color: rgba(245, 158, 11, 0.4); }
}

.bot-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.bot-task-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.bot-task-meta-top {
    font-size: 11px;
    color: var(--text-dark);
}

.bot-task-desc {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    white-space: pre-line;
}

/* Agent Parsing metadata visual panel */
.agent-parsed-panel {
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 10px;
    padding: 14px;
}

.agent-parsed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    padding-bottom: 6px;
}

.agent-parsed-header span {
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-difficulty {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
}

.badge-difficulty.easy {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-difficulty.medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-difficulty.hard {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.bot-goals-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bot-goal-item {
    font-size: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bot-goal-item i {
    margin-top: 3px;
    font-size: 11px;
}

.bot-goal-item.checked {
    color: var(--text-muted);
    text-decoration: line-through;
}

.bot-goal-item.checked i {
    color: var(--success);
}

.bot-goal-item.unchecked i {
    color: var(--text-dark);
}

.bot-milestones-timeline {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bot-milestones-title {
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 600;
}

.bot-milestone-item {
    font-size: 11px;
    color: var(--text-muted);
    padding-left: 12px;
    position: relative;
}

.bot-milestone-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet);
}

/* Evaluation Outcomes Visual Cards */
.bot-outcome-panel {
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    padding: 14px;
}

.bot-outcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding-bottom: 6px;
}

.bot-outcome-header span {
    font-size: 12px;
    font-weight: 700;
    color: var(--violet);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bot-score-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.bot-outcome-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bot-outcome-approved {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.bot-outcome-approved.approved {
    color: var(--success);
}

.bot-outcome-approved.rework {
    color: var(--warning);
}

.bot-outcome-feedback {
    font-size: 12px;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.bot-outcome-deliverable {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    border-left: 2px solid var(--border-glass);
    padding-left: 8px;
    margin-top: 4px;
}

/* B-Side Submission Layout */
.bot-submit-box {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-glass);
    border-radius: 10px;
    padding: 14px;
}

.bot-submit-box label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 6px;
    display: block;
}

.bot-submit-box textarea {
    width: 100%;
    background: #090d1a;
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--text-primary);
    padding: 10px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: var(--transition-smooth);
}

.bot-submit-box textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-glow);
}

.bot-submit-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.bot-task-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 8px;
}

.bot-task-meta-footer span strong {
    color: var(--text-muted);
}

/* --- High-fidelity Glassmorphic Login Screen --- */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(13, 21, 43, 0.95) 0%, rgba(7, 11, 25, 0.98) 100%);
    z-index: 9999;
    padding: 20px;
}

#gatekeeper-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(7, 11, 25, 0.98) 0%, rgba(3, 5, 15, 0.99) 100%);
    z-index: 10000;
    padding: 20px;
}

#login-screen::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    top: 15%;
    left: 20%;
    filter: blur(50px);
    pointer-events: none;
    animation: floatAurora 12s ease-in-out infinite alternate;
}

#login-screen::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
    bottom: 15%;
    right: 20%;
    filter: blur(50px);
    pointer-events: none;
    animation: floatAurora 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatAurora {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

.login-card {
    background: rgba(18, 30, 61, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
    text-align: center;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.login-card .login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(to right, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.login-card .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-card .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cyan);
    margin-bottom: 8px;
}

.login-card select {
    width: 100%;
    padding: 12px;
    background: rgba(8, 14, 30, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.login-card select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-glow);
}

.login-card .btn-large {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--cyan-glow);
    transition: var(--transition-smooth);
}

.login-card .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--cyan-glow), 0 0 0 1px var(--border-glass-hover);
}

.login-card .btn-large:active {
    transform: translateY(0);
}

.login-footer {
    font-size: 11px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* --- Stage 8 Collaboration Experience Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 11, 25, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.modal-card {
    width: 90%;
    max-width: 500px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass-hover);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-glass-hover);
    padding: 24px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.btn-close-modal:hover {
    color: var(--danger);
}

/* --- Stage 8 Visual Timeline (时光轴) --- */
.bot-task-timeline {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    position: relative;
}

.bot-task-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan) 0%, var(--violet) 50%, var(--success) 100%);
    opacity: 0.4;
}

.timeline-title {
    font-size: 12px;
    font-weight: bold;
    color: var(--cyan);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.4;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.timeline-dot {
    position: absolute;
    left: 9px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dark);
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

/* Special state dots & timeline texts */
.timeline-item.state-robot .timeline-dot {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}
.timeline-item.state-robot {
    color: #e2e8f0;
}

.timeline-item.state-submit .timeline-dot {
    background: var(--violet);
    box-shadow: 0 0 8px var(--violet);
}
.timeline-item.state-submit {
    color: #e2e8f0;
}

.timeline-item.state-reject .timeline-dot {
    background: var(--danger);
    box-shadow: 0 0 8px var(--danger);
}
.timeline-item.state-reject {
    color: #fca5a5;
}

.timeline-item.state-override .timeline-dot {
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning);
}
.timeline-item.state-override {
    color: #fde047;
    font-weight: 500;
}

.timeline-time {
    display: block;
    font-size: 10px;
    color: var(--text-dark);
    margin-top: 2px;
}

/* --- Action Buttons on Card --- */
.bot-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.bot-card-actions .btn {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.btn-bot-override {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: var(--warning) !important;
}

.btn-bot-override:hover {
    background: var(--warning) !important;
    color: #000 !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.btn-bot-clone {
    background: rgba(6, 182, 212, 0.1) !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
    color: var(--cyan) !important;
}

.btn-bot-clone:hover {
    background: var(--cyan) !important;
    color: #000 !important;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.btn-bot-export {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: var(--success) !important;
}

.btn-bot-export:hover {
    background: var(--success) !important;
    color: #000 !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

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

.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }


