@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700..900;1,700..900&display=swap');

:root {
    --bg-gradient: radial-gradient(circle at top right, #f4f7fa, #cbd5e1);
    --panel-bg: rgba(255, 255, 255, 0.7); /* Translucent panel */
    --border-color: rgba(255, 255, 255, 0.55); /* Translucent border */
    --border-hover: rgba(255, 255, 255, 0.75);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-blue: #C59B27; /* Golden accent from logo */
    --accent-blue-glow: rgba(197, 155, 39, 0.2);
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.15);
    --accent-rose: #ef4444;
    --accent-rose-glow: rgba(239, 68, 68, 0.15);
    --accent-violet: #8b5cf6;
    --sidebar-bg: #18191f;
    --sidebar-text: rgba(255, 255, 255, 0.6);
    --sidebar-text-active: #ffffff;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Layout Wrapper */
.app-layout {
    display: flex;
    min-height: 100vh;
    background: radial-gradient(circle at 80% 20%, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
}

/* Sidebar Floating Capsule */
.sidebar {
    background: #18191f;
    width: 260px;
    flex-shrink: 0;
    margin: 1.25rem 0.6rem 1.25rem 1.25rem;
    height: calc(100vh - 2.5rem);
    border-radius: 24px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 1.25rem;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

/* Mac window control dots style */
.window-controls {
    display: flex;
    gap: 6px;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}
.window-controls .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.window-controls .dot.red { background: #ff5f56; }
.window-controls .dot.yellow { background: #ffbd2e; }
.window-controls .dot.green { background: #27c93f; }

/* Sidebar Profile Greeting */
.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    position: relative;
}
.avatar-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), #8b5cf6);
    opacity: 0.75;
    filter: blur(4px);
    z-index: 1;
}
.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #272935;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.profile-greeting {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}
.profile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.sidebar-collapse-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Sidebar Menu wrapper */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}
.sidebar-menu::-webkit-scrollbar { display: none; }

/* Menu Item Links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.sidebar-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.sidebar-link:hover {
    color: var(--sidebar-text-active);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px) scale(1.01);
}

.sidebar-link.active {
    color: #ffffff;
    background: var(--accent-blue);
    box-shadow: 0 4px 12px var(--accent-blue-glow);
    font-weight: 700;
    animation: activePopup 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Active vertical indicator bar */
.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20%;
    height: 60%;
    width: 4px;
    background: #10b981;
    border-radius: 99px;
    box-shadow: 0 0 10px #10b981;
}

.sidebar-link:active {
    transform: translateY(0) scale(0.98);
}

@keyframes activePopup {
    0% {
        transform: scale(0.96) translateX(-4px);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.02) translateY(-2px);
        opacity: 1;
    }
}

/* Sidebar Section Labels */
.sidebar-section-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 1rem 1rem 0.25rem 1rem;
    margin-top: 0.25rem;
    display: block;
    user-select: none;
}

/* Services / Integrations Grid */
.sidebar-integrations {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.25rem 0.5rem 0.5rem 0.5rem;
}
.integration-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
}
.integration-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
.integration-item.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.integration-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.integration-item-add {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
}
.integration-item-add:hover {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
}

/* Sidebar Footer wrapper */
.sidebar-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Settings Toolbar grid */
.sidebar-toolbar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0.25rem 0.5rem 0.75rem 0.5rem;
}
.sidebar-toolbar a {
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}
.sidebar-toolbar a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.1);
}

/* Glowing CTA Case button card */
.sidebar-cta-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0.25rem 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-circle-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 155, 39, 0.3) 0%, rgba(197, 155, 39, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
}
.cta-plus-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.6);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}
.cta-plus-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.8);
}
.cta-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}
.cta-subtitle {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
}

/* Main Area */
.main-area {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

/* Top Bar */
.topbar {
    height: 64px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-search {
    position: relative;
    width: 300px;
}
.topbar-search input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
    transition: border 0.2s;
}
.topbar-search input:focus { border-color: var(--accent-blue); }
.topbar-search svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-icon-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-icon-btn:hover { color: var(--text-primary); }
.topbar-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-rose);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}
.topbar-dropdown:hover { background: #f1f5f9; }

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.user-info { font-size: 0.8rem; text-align: left; }
.user-name { font-weight: 600; color: var(--text-primary); line-height: 1.2; }
.user-role { color: var(--text-secondary); font-size: 0.7rem; }

/* Page Workspace Wrapper */
.workspace {
    padding: 1.25rem 0;
    width: calc(100% - 3rem);
    box-sizing: border-box;
    margin: 0 1.5rem 1.5rem 1.5rem;
}

/* Common Panels */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

/* Table styling */
.table-container { overflow-x: auto; width: 100%; }
.custom-table { width: 100%; border-collapse: collapse; text-align: left; }
.custom-table th {
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}
.custom-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    vertical-align: middle;
}
.custom-table tr:hover td { background: rgba(255, 255, 255, 0.25); }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.grid-4-sm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 0.4rem;
}
.btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
}
.btn-primary:hover { background: #005bb5; }
.btn-success { background: var(--accent-emerald); color: #ffffff; }
.btn-success:hover { background: #059669; }
.btn-danger { background: transparent; border: 1px solid var(--accent-rose); color: var(--accent-rose); }
.btn-danger:hover { background: var(--accent-rose); color: #ffffff; }
.btn-secondary { background: #ffffff; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-secondary:hover { background: #f1f5f9; }
.btn-outline-primary { background: transparent; border: 1px solid var(--accent-blue); color: var(--accent-blue); }
.btn-outline-primary:hover { background: rgba(10, 102, 194, 0.05); }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
}
.badge-active { background: #dcfce7; color: #166534; }
.badge-inactive { background: #fee2e2; color: #991b1b; }
.badge-role { background: #e0e7ff; color: #3730a3; }
.badge-branch { background: #fef3c7; color: #92400e; }
.badge-warning { background: #ffedd5; color: #9a3412; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.375rem; }
.form-control {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 2px var(--accent-blue-glow); }

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 580px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-height: 85vh;
    overflow-y: auto;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin: 0; }

/* ── Kanban Styles ── */
.kanban-board { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; }
.kanban-col { background: #f8fafc; border: 1px solid var(--border-color); border-radius: 8px; width: 280px; flex-shrink: 0; padding: 0.75rem; display: flex; flex-direction: column; }
.kanban-col-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-size: 0.8rem; font-weight: 600; }
.task-card { background: #ffffff; border: 1px solid var(--border-color); border-radius: 6px; padding: 0.75rem; margin-bottom: 0.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* ── Typography & Helpers ── */
.text-danger { color: var(--accent-rose); font-size: 0.75rem; }
.text-success { color: var(--accent-emerald); font-size: 0.75rem; }
.section-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); display: flex; justify-content: space-between; align-items: center; }

/* ── Floating Action Buttons (FAB) ── */
.fab-container { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 0.75rem; z-index: 100; }
.fab-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: transform 0.2s; text-decoration: none; }
.fab-btn:hover { transform: scale(1.05); }
.fab-whatsapp { background: #25D366; }
.fab-ai { background: #8b5cf6; }
.fab-primary { background: var(--accent-blue); }

/* ── Liquid Glass UI Overhaul Style Injection ── */

/* Glass panels, columns, cards, and modal backdrops */
.glass-panel, .chart-panel, .mini-panel, .modal-content, .kanban-col, .task-card, .kpi-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 100%) !important;
    backdrop-filter: blur(20px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.65) !important;
    border-left: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    border-right: 1.25px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1.25px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 12px 32px rgba(31, 38, 135, 0.04), 
                inset 0 1.5px 0 rgba(255, 255, 255, 0.5), 
                inset 0 -2px 4px rgba(0, 0, 0, 0.02) !important;
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-panel:hover, .mini-panel:hover, .task-card:hover, .kpi-card:hover {
    box-shadow: 0 16px 40px rgba(31, 38, 135, 0.08), 
                inset 0 2px 3px rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
}

/* Glassmorphic floating topbar - perfectly centered and aligned with workspace content */
.topbar {
    width: calc(100% - 3rem);
    margin: 1.25rem 1.5rem 0 1.5rem;
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-top: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    border-left: 1.5px solid rgba(255, 255, 255, 0.55) !important;
    border-right: 1.25px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1.25px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 32px rgba(31, 38, 135, 0.04), 
                inset 0 1.5px 0 rgba(255, 255, 255, 0.5), 
                inset 0 -2px 4px rgba(0, 0, 0, 0.02) !important;
    height: 64px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: sticky;
    top: 1.25rem;
    z-index: 50;
    transition: all 0.3s ease;
}

/* Modern Rounded Tactile Buttons with Gel 3D Lighting */
.btn, button, input[type="submit"], input[type="button"] {
    border-radius: 99px !important;
    font-weight: 650;
    font-size: 0.82rem;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.btn:hover, button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.btn:active, button:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--accent-blue) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3) !important;
    text-shadow: none !important;
}
.btn-primary:hover {
    background: #ac8314 !important;
    box-shadow: 0 6px 18px rgba(197, 155, 39, 0.5) !important;
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}
.btn-secondary:hover {
    background: #f8fafc !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    transform: translateY(-2px) scale(1.02);
}

.btn-success {
    background: var(--accent-emerald) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
    text-shadow: none !important;
}
.btn-success:hover {
    background: #059669 !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45) !important;
    transform: translateY(-2px) scale(1.02);
}

.btn-danger {
    background: var(--accent-rose) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
    text-shadow: none !important;
}
.btn-danger:hover {
    background: #dc2626 !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45) !important;
    transform: translateY(-2px) scale(1.02);
}

/* Soft Rounded Glass Inputs & Controls */
.form-control, input[type="text"], input[type="email"], input[type="password"], select, textarea {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    backdrop-filter: blur(8px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.03) !important;
    border-radius: 14px !important;
    color: var(--text-primary) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-control:focus, input[type="text"]:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3.5px var(--accent-blue-glow), inset 0 1px 2px rgba(0,0,0,0.02) !important;
}

/* Custom rounded search bar input */
.topbar-search input {
    border-radius: 99px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Scrollbar aesthetic styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}
