/* 
 * Crantum Admin Stylesheet
 */

:root {
    --admin-primary: #6366f1;
    --admin-dark: #000000;
    --admin-bg-light: #f8f9fa;
    --admin-border: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--admin-bg-light);
}

/* Sidebar Styling */
.sidebar-box {
    background-color: #000000 !important;
    min-height: 100vh;
}
.sidebar-box .list-group-item {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.2s ease-in-out;
}
.sidebar-box .list-group-item:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    padding-left: 20px !important;
}
.active-sidebar {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-left: 4px solid var(--admin-primary) !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Dashboard Stat Cards */
.stats-card {
    transition: all 0.3s ease;
}
.stats-card:hover {
    transform: translateY(-5px);
}

/* Tables and Panels */
.card {
    border: 1px solid var(--admin-border);
}
.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 15px 10px;
}
.table td {
    padding: 15px 10px;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.15);
}
.form-label {
    margin-bottom: 6px;
}

/* Buttons */
.btn-black {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}
.btn-black:hover {
    background-color: #333333;
    color: #ffffff;
}
.btn-indigo {
    background-color: var(--admin-primary);
    color: #ffffff;
}
.btn-indigo:hover {
    background-color: #4f46e5;
    color: #ffffff;
}

/* Helper spacing */
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }

/* Custom toggle switch */
.form-check-input:checked {
    background-color: var(--admin-primary);
    border-color: var(--admin-primary);
}
