* {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

html,
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
:root {
    --primary-violet: #8B5CF6;
    --primary-blue: #3B82F6;
    --bg-slate: #f5f9fc;
    --sidebar-dark: #0f172a;
    --sidebar-hover: #1e293b;
}

body {
    background-color: var(--bg-slate) !important;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  
}
body::-webkit-scrollbar {
    display: none;
}

.header {
    min-height: 90vh;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    height: 100vh;
    margin-left: 120px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
}

form {
    padding: 10px;
    background-color: white;
    border-radius: 10px;
}

/* Container fix */
.container-fluid {
    padding: 0;
}

/* Main content */
main {
    transition: all 0.3s ease;
}

.container {
    background-color: var(--bg-slate);
}
/* Table mobile scroll */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.notification-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.notification-sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 15px;
    background: #0d6efd;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-body {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
}

.notification-item {
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item a {
    text-decoration: none;
    color: black;
    display: block;
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #af34ec;
    background-color: #d7a3f940;
    margin-right: 15px;
}


body {
    background-color: var(--bg-slate);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

/* Metric Cards */
.metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}


.bg-violet {
    background: var(--primary-violet);
}

.bg-blue {
    background: var(--primary-blue);
}

.bg-emerald {
    background: #10b981;
}

.bg-rose {
    background: #f43f5e;
}

.bg-amber {
    background: #f59e0b;
}

.bg-slate-dark {
    background: #334155;
}

.metric-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

/* Action Buttons */
.action-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #f1f5f9;
    border-color: var(--primary-violet);
    color: var(--primary-violet);
}

/* Tables & Cards */
.custom-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    padding: 10px;
}

.custom-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table thead th {
    background: #f0f1fd;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    border-top: none;
    padding: 1rem 1.5rem;
}

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    color: #475569;
    font-size: 0.875rem;
}

.badge-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    padding: 1rem;
}

.sidebar-container {
    min-height: 100vh;
}

/* Table badges */
.badge {
    font-size: 0.8rem;
}

.chart-container {
    height: 300px;
    width: 100%;
}

/* Mobile layout */
@media (max-width: 768px) {
    .metric-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .wrap {
        flex-direction: column;
        gap: 5px
    }

    .metric-icon {
        margin-bottom: 10px;
    }

    .sidebar {
        position: fixed;
        left: -260px;
        width: 250px;
        height: 100%;
        z-index: 9999;
        background: #111;
        transition: 0.3s;
    }

    .sidebar.active {
        left: 0;
        display: inline-block;
    }

    main {
        width: 100%;
        margin-left: 0 !important;
        padding: 15px;
    }

    table {
        font-size: 13px;
    }

}