/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #d32f2f;
    --primary-hover: #b71c1c;
    --secondary-color: #f8f9fa;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --sidebar-bg: #1e1e2d;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f1f2f6;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Navbar */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    padding: 0.8rem 1rem;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

/* Sidebar */
.sidebar {
    background-color: var(--sidebar-bg);
    min-height: 100vh;
}

.sidebar a {
    color: #aeb6bf;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: var(--primary-color);
}

.sidebar i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

/* Cards & Dashboard */
.card {
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--card-hover-shadow);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

/* Stats Cards Specifics */
.border-left-primary {
    border-left: 5px solid #4e73df !important;
}

.border-left-success {
    border-left: 5px solid #1cc88a !important;
}

.border-left-info {
    border-left: 5px solid #36b9cc !important;
}

.border-left-warning {
    border-left: 5px solid #f6c23e !important;
}

.icon-circle {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.text-xs {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.4);
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #eef2f7;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.table tbody td {
    border-top: 1px solid #f1f5f9;
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: #f8faff;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 0.7rem 1rem;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
    border-color: var(--primary-color);
}

/* Utilities */
.text-gray-800 {
    color: #2c3e50 !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

/* Quick Actions Colors */
.btn-success {
    background-color: #1cc88a;
    border: none;
}

.btn-info {
    background-color: #36b9cc;
    border: none;
}

.btn-warning {
    background-color: #f6c23e;
    border: none;
}

.btn-success:hover,
.btn-info:hover,
.btn-warning:hover {
    filter: brightness(90%);
}