/* ========================================================================= */
/*                         SISTEMA GESTION PYME                              */
/*                         Estilos Globales v3.0 - Minimalista              */
/* ========================================================================= */

/* ========================================================================= */
/* VARIABLES DE TEMA UNIFICADO */
/* ========================================================================= */
:root {
    /* Tipografía */
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
    --text-lg: 1.125rem;
    --text-base: 1rem;
    --text-sm: 0.875rem;
    --text-xs: 0.75rem;
    
    /* Colores principales - Minimalista */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #dbeafe;
    --primary-foreground: #ffffff;
    
    /* Colores de fondo */
    --background: #f8fafc;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    
    /* Colores secundarios */
    --secondary: #f1f5f9;
    --secondary-foreground: #475569;
    --muted: #e2e8f0;
    --muted-foreground: #64748b;
    
    /* Colores de estado - Solo los necesarios */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #06b6d4;
    --info-light: #cffafe;
    
    /* Bordes y sombras */
    --border: #e2e8f0;
    --input: #e2e8f0;
    --input-background: #ffffff;
    --ring: #3b82f6;
    --radius: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    
    /* Fuentes */
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ========================================================================= */
/* RESET Y BASE */
/* ========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: var(--text-base);
    line-height: 1.5;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================================================= */
/* TIPOGRAFÍA */
/* ========================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }

p {
    margin-bottom: 1rem;
}

/* ========================================================================= */
/* TARJETAS UNIFICADAS */
/* ========================================================================= */
.card-custom,
.card-shopify {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.card-custom:hover,
.card-shopify:hover {
    box-shadow: var(--shadow-md);
}

.card-custom-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* ========================================================================= */
/* BOTONES UNIFICADOS */
/* ========================================================================= */
.btn-figma,
.btn-primary,
.btn-success,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    border-radius: var(--radius);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-figma,
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
}

.btn-figma:hover,
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--primary-foreground);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-figma:active,
.btn-primary:active {
    transform: translateY(0);
}

.btn-figma-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border: none;
}

.btn-figma-secondary:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.btn-success {
    background-color: var(--success);
    color: white;
    border: none;
}

.btn-success:hover {
    background-color: #059669;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-outline-secondary {
    background-color: transparent;
    border: 1px solid var(--muted-foreground);
    color: var(--muted-foreground);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary-foreground);
    color: var(--secondary-foreground);
}

.btn-outline-danger {
    background-color: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background-color: var(--danger-light);
    border-color: var(--danger);
    color: var(--danger);
}

/* ========================================================================= */
/* FORMULARIOS */
/* ========================================================================= */
.form-control,
.form-select {
    background-color: var(--input-background);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    padding: 0.625rem 0.875rem;
    font-size: var(--text-sm);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--secondary);
    cursor: not-allowed;
}

.form-label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.375rem;
    color: var(--foreground);
}

/* Validación */
.form-control.is-invalid {
    border-color: var(--danger);
}

.form-control.is-valid {
    border-color: var(--success);
}

.invalid-feedback {
    color: var(--danger);
    font-size: var(--text-xs);
    margin-top: 0.25rem;
}

/* ========================================================================= */
/* TABLAS */
/* ========================================================================= */
.table {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.table th {
    background-color: var(--secondary);
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-foreground);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    text-transform: none;
}

.table td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

.table tbody tr:hover {
    background-color: var(--secondary);
}

.table-responsive {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.table-light {
    background-color: var(--secondary);
}

.table-hover tbody tr:hover {
    background-color: var(--secondary);
}

.table-sm thead th,
.table-sm tbody td {
    padding: 0.5rem 0.75rem;
}

/* ========================================================================= */
/* BADGES */
/* ========================================================================= */
.badge,
.badge-success,
.badge-warning,
.badge-danger,
.badge-info,
.badge-primary,
.badge-secondary {
    font-weight: var(--font-weight-medium);
    font-size: var(--text-xs);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-success,
.bg-success {
    background-color: var(--success-light);
    color: #065f46;
}

.badge-warning,
.bg-warning {
    background-color: var(--warning-light);
    color: #92400e;
}

.badge-danger,
.bg-danger {
    background-color: var(--danger-light);
    color: #7f1d1d;
}

.badge-info,
.bg-info {
    background-color: var(--info-light);
    color: #0c4a6e;
}

.badge-primary,
.bg-primary {
    background-color: var(--primary-light);
    color: #1e40af;
}

.badge-secondary,
.bg-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.badge-lg {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

/* ========================================================================= */
/* ICONOS */
/* ========================================================================= */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-box.bg-success {
    background-color: var(--success-light);
    color: var(--success);
}

.icon-box.bg-warning {
    background-color: var(--warning-light);
    color: var(--warning);
}

.icon-box.bg-danger {
    background-color: var(--danger-light);
    color: var(--danger);
}

.icon-box.bg-info {
    background-color: var(--info-light);
    color: var(--info);
}

.icon-box.bg-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.bi {
    display: inline-flex;
    align-items: center;
}

/* ========================================================================= */
/* ALERTAS */
/* ========================================================================= */
.alert-floating {
    position: fixed;
    top: calc(60px + 1rem);
    right: 1rem;
    z-index: 1050;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: var(--success-light);
    border-color: var(--success);
    color: #065f46;
}

.alert-warning {
    background-color: var(--warning-light);
    border-color: var(--warning);
    color: #92400e;
}

.alert-danger {
    background-color: var(--danger-light);
    border-color: var(--danger);
    color: #7f1d1d;
}

.alert-info {
    background-color: var(--info-light);
    border-color: var(--info);
    color: #0c4a6e;
}

/* ========================================================================= */
/* ESTADÍSTICAS */
/* ========================================================================= */
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.stat-card-label {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    margin-top: 0.25rem;
}

/* ========================================================================= */
/* UTILIDADES */
/* ========================================================================= */
.text-muted {
    color: var(--muted-foreground) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-info {
    color: var(--info) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.border {
    border: 1px solid var(--border) !important;
}

.border-dashed {
    border-style: dashed !important;
}

.hover-shadow:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.fw-bold {
    font-weight: var(--font-weight-bold) !important;
}

.fw-semibold {
    font-weight: var(--font-weight-semibold) !important;
}

.fw-medium {
    font-weight: var(--font-weight-medium) !important;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--muted-foreground);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--foreground);
}

/* ========================================================================= */
/* ANIMACIONES */
/* ========================================================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease;
}

.animate-slide-up {
    animation: slideUp 0.3s ease;
}

/* ========================================================================= */
/* LOADING OVERLAY */
/* ========================================================================= */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(3px);
}

.loading-content {
    background: white;
    padding: 2rem 3rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25rem;
    color: var(--primary);
}

.loading-content p {
    color: var(--foreground);
    font-weight: var(--font-weight-medium);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ========================================================================= */
/* RESPONSIVE */
/* ========================================================================= */
@media (max-width: 768px) {
    .card-custom,
    .card-shopify {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: var(--text-xs);
    }
    
    h1 { font-size: var(--text-xl); }
    h2 { font-size: var(--text-lg); }
    
    .alert-floating {
        max-width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .card-custom,
    .card-shopify {
        padding: 0.75rem;
    }
    
    .btn-figma,
    .btn-primary,
    .btn-success {
        padding: 0.4rem 0.8rem;
        font-size: var(--text-xs);
    }
}

/* ========================================================================= */
/* MARK HIGHLIGHTING */
/* ========================================================================= */
mark {
    background-color: #fbbf24;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: var(--font-weight-semibold);
}/* ================================================
   LOGIN PAGE STYLES
   ================================================ */
.login-page {
  background-color: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
  background-color: var(--primary);
  color: var(--primary-foreground);
  width: 100%;
  padding: 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  border: none;
  font-weight: 500;
}

.btn-primary-custom:hover {
  opacity: 0.9;
}

/* ================================================
   RESTORED LAYOUT STYLES
   ================================================ */
:root {
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --topbar-height: 60px;
    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --sidebar-active: #3b82f6;
    --sidebar-text: #94a3b8;
    --sidebar-text-active: #ffffff;
}

body {
    overflow: hidden;
}

#app-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* SIDEBAR */
#sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 1000;
}

#sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
    min-width: var(--sidebar-collapsed-width);
}

.sidebar-brand {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 12px;
}

.sidebar-brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sidebar-brand-text {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
}

#sidebar.collapsed .sidebar-brand-text,
#sidebar.collapsed .menu-text,
#sidebar.collapsed .module-title span,
#sidebar.collapsed .module-arrow {
    display: none;
}

#sidebar.collapsed .module-title {
    justify-content: center;
    padding: 0.75rem;
}

#sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.75rem;
}

#sidebar.collapsed .nav-link i {
    margin: 0;
    font-size: 1.2rem;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Modules */
.nav-module {
    margin-bottom: 0.25rem;
}

.module-title {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: var(--sidebar-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.module-title:hover {
    background: rgba(255,255,255,0.05);
}

.module-title i {
    width: 20px;
    margin-right: 10px;
    font-size: 1rem;
}

.module-title span {
    flex: 1;
}

.module-arrow {
    transition: transform 0.2s;
    font-size: 0.7rem;
}

.module-title[aria-expanded="true"] .module-arrow {
    transform: rotate(90deg);
}

.module-title[aria-expanded="true"] {
    color: var(--sidebar-text-active);
    border-left-color: var(--sidebar-active);
}

/* Links */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.55rem 1rem 0.55rem 2.5rem;
    color: var(--sidebar-text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active);
}

.nav-link.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--sidebar-active);
    border-left-color: var(--sidebar-active);
    font-weight: 500;
}

.nav-link i {
    width: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Sidebar User */
.sidebar-user {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-user-details {
    overflow: hidden;
}

.sidebar-user-name {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    color: var(--sidebar-text);
    font-size: 0.75rem;
}

#sidebar.collapsed .sidebar-user-details {
    display: none;
}

/* MAIN CONTENT */
#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--background);
}

/* Topbar */
#topbar {
    height: var(--topbar-height);
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-toggle-sidebar {
    width: 38px;
    height: 38px;
    border: none;
    background: var(--secondary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-toggle-sidebar:hover {
    background: var(--muted);
    color: var(--foreground);
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.breadcrumb-wrapper a {
    color: var(--muted-foreground);
    text-decoration: none;
}

.breadcrumb-wrapper a:hover {
    color: var(--foreground);
}

.breadcrumb-current {
    color: var(--foreground);
    font-weight: 500;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.context-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.context-badge.empresa {
    background: var(--primary-light);
    color: #1e40af;
}

.context-badge.grupo {
    background: #fce7f3;
    color: #9d174d;
}

.btn-context {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--warning-light);
    color: #92400e;
    border: 1px solid var(--warning);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-context:hover {
    background: var(--warning);
    color: white;
}

/* Content Area */
#content-area {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Floating Alerts */
.alert-floating {
    position: fixed;
    top: calc(var(--topbar-height) + 1rem);
    right: 1rem;
    z-index: 1050;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    #sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
    }

    #sidebar.show {
        transform: translateX(0);
    }

    #sidebar.collapsed {
        transform: translateX(-100%);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

/* Utilities */
.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem;
    margin-top: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: #ef4444;
    color: white;
}

#sidebar.collapsed .logout-btn span {
    display: none;
}
 
 / *   - - -   U I   S T A N D A R D I Z A T I O N   - - -   * /  
 / *   U n i f y   C a r d   S t y l e s   t o   P r e m i u m   L o o k   * /  
 . c a r d - c u s t o m ,   . c a r d - s h o p i f y ,   . c a r d   {  
         b a c k g r o u n d :   # f f f f f f ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 0 , 0 , 0 , 0 . 0 8 ) ;  
         b o r d e r - r a d i u s :   1 2 p x ;  
         b o x - s h a d o w :   0   4 p x   6 p x   - 1 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 0 5 ) ,   0   2 p x   4 p x   - 1 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 0 3 ) ;  
         m a r g i n - b o t t o m :   1 . 5 r e m ;  
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;  
 }  
 . c a r d - b o d y   {   p a d d i n g :   1 . 5 r e m ;   }  
  
 / *   U n i f y   I c o n   B o x e s   * /  
 . i c o n - b o x   {  
         w i d t h :   4 8 p x ;  
         h e i g h t :   4 8 p x ;  
         b o r d e r - r a d i u s :   1 2 p x ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         j u s t i f y - c o n t e n t :   c e n t e r ;  
         f o n t - s i z e :   1 . 5 r e m ;  
         c o l o r :   w h i t e ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 3 b 8 2 f 6   0 % ,   # 2 5 6 3 e b   1 0 0 % ) ;  
         b o x - s h a d o w :   0   4 p x   6 p x   - 1 p x   r g b a ( 5 9 ,   1 3 0 ,   2 4 6 ,   0 . 2 ) ;  
 }  
 . i c o n - b o x . b g - p r i m a r y   {   b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 3 b 8 2 f 6   0 % ,   # 2 5 6 3 e b   1 0 0 % ) ;   }  
 . i c o n - b o x . b g - s u c c e s s   {   b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 2 c 5 5 e   0 % ,   # 1 6 a 3 4 a   1 0 0 % ) ;   }  
 . i c o n - b o x . b g - w a r n i n g   {   b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f 5 9 e 0 b   0 % ,   # d 9 7 7 0 6   1 0 0 % ) ;   }  
 . i c o n - b o x . b g - d a n g e r     {   b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # e f 4 4 4 4   0 % ,   # d c 2 6 2 6   1 0 0 % ) ;   }  
 . i c o n - b o x . b g - i n f o         {   b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 0 e a 5 e 9   0 % ,   # 0 2 8 4 c 7   1 0 0 % ) ;   }  
  
 / *   U n i f y   T a b l e   S t y l e s   * /  
 . t a b l e   t h e a d   t h   {  
         b a c k g r o u n d - c o l o r :   # f 8 f a f c ;  
         f o n t - w e i g h t :   6 0 0 ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         f o n t - s i z e :   0 . 7 5 r e m ;  
         l e t t e r - s p a c i n g :   0 . 0 5 e m ;  
         c o l o r :   # 6 4 7 4 8 b ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   # e 2 e 8 f 0 ;  
         p a d d i n g :   1 r e m ;  
 }  
 . t a b l e   t b o d y   t d   {  
         p a d d i n g :   1 r e m ;  
         v e r t i c a l - a l i g n :   m i d d l e ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   # f 1 f 5 f 9 ;  
 }  
 . t a b l e - h o v e r   t b o d y   t r : h o v e r   {  
         b a c k g r o u n d - c o l o r :   # f 8 f a f c ;  
 }  
  
 / *   B u t t o n   R e f i n e m e n t s   * /  
 . b t n - p r i m a r y   {  
         b a c k g r o u n d - c o l o r :   # 3 b 8 2 f 6 ;  
         b o r d e r :   n o n e ;  
         b o x - s h a d o w :   0   2 p x   4 p x   r g b a ( 5 9 ,   1 3 0 ,   2 4 6 ,   0 . 2 ) ;  
 }  
 . b t n - p r i m a r y : h o v e r   {  
         b a c k g r o u n d - c o l o r :   # 2 5 6 3 e b ;  
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ;  
 }  
 . b t n - s u c c e s s   {  
         b a c k g r o u n d - c o l o r :   # 2 2 c 5 5 e ;  
         b o r d e r :   n o n e ;  
         b o x - s h a d o w :   0   2 p x   4 p x   r g b a ( 3 4 ,   1 9 7 ,   9 4 ,   0 . 2 ) ;  
 }  
 . b t n - s u c c e s s : h o v e r   {  
         b a c k g r o u n d - c o l o r :   # 1 6 a 3 4 a ;  
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ;  
 }  
 