/* ============================================
   HỆ THỐNG QUẢN LÝ TÀI SẢN THIẾT BỊ
   Pastel Pink Modern Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --pink-50: #fef1f6;
  --pink-100: #fde4ee;
  --pink-200: #fcc8dd;
  --pink-300: #f9a8c9;
  --pink-400: #f472a8;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;

  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;

  --bg-primary: #fef7fa;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-sidebar: linear-gradient(180deg, #f9a8c9 0%, #f472a8 50%, #ec4899 100%);
  --bg-glass: rgba(255, 255, 255, 0.6);

  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(244, 114, 168, 0.1);
  --shadow-md: 0 4px 15px rgba(244, 114, 168, 0.15);
  --shadow-lg: 0 10px 40px rgba(244, 114, 168, 0.2);
  --shadow-xl: 0 20px 60px rgba(244, 114, 168, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #6366f1;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(252, 200, 221, 0.3) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(254, 226, 238, 0.4) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---- Login Page ---- */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink-50) 0%, var(--pink-100) 30%, var(--pink-200) 70%, var(--pink-300) 100%);
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 114, 168, 0.2), transparent);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  animation: floatBubble 8s ease-in-out infinite;
}

.login-container::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent);
  bottom: -150px;
  left: -100px;
  border-radius: 50%;
  animation: floatBubble 10s ease-in-out infinite reverse;
}

@keyframes floatBubble {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.login-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: 50px 45px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo {
  text-align: center;
  margin-bottom: 35px;
}

.login-logo .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  margin-bottom: 18px;
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.35);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.35);
  }

  50% {
    box-shadow: 0 8px 45px rgba(236, 72, 153, 0.5);
  }
}

.login-logo h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.login-logo p {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ---- Form Elements ---- */
.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group .input-wrapper {
  position: relative;
}

.form-group .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--pink-400);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(244, 114, 168, 0.2);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(244, 114, 168, 0.15);
  background: white;
}

.form-group input:focus~.input-icon {
  color: var(--pink-600);
}

.form-group input::placeholder {
  color: var(--text-light);
}




.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pink-500);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  margin: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* increased slightly for better spacing if icons are kept in some places */
  padding: 10px 24px; /* slightly wider padding for buttons without icons */
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.2px;
  outline: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  color: white;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-success {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-warning {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #f87171, #ef4444);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--pink-300);
  color: var(--pink-600);
}

.btn-outline:hover {
  background: var(--pink-50);
  border-color: var(--pink-400);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  font-size: 15px;
}

.btn-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ---- Layout: Sidebar + Main ---- */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--bg-sidebar);
  padding: 30px 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(236, 72, 153, 0.15);
  transition: var(--transition);
}

.sidebar-header {
  padding: 0 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}

.sidebar-header .logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-header .logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  backdrop-filter: blur(10px);
}

.sidebar-header .logo-text h2 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.sidebar-header .logo-text p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

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

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
  position: relative;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(4px);
}

.sidebar-nav a.active {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: white;
  border-radius: 0 4px 4px 0;
}

.sidebar-nav a .nav-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.sidebar-nav .nav-section {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 20px 18px 10px;
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-footer .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sidebar-footer .user-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.sidebar-footer .user-details h4 {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.sidebar-footer .user-details p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.sidebar-footer .btn-logout {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.sidebar-footer .btn-logout:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---- Main Content ---- */
.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 30px 40px;
  min-height: 100vh;
}

.page-header {
  margin-bottom: 35px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.page-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.page-header .datetime {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---- Stat Cards ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 35px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 114, 168, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  animation: slideUp 0.6s ease-out;
}

.stat-card:nth-child(2) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  border-radius: 0 0 0 100%;
  opacity: 0.08;
}

.stat-card.pink::after {
  background: var(--pink-500);
}

.stat-card.green::after {
  background: var(--success);
}

.stat-card.purple::after {
  background: var(--info);
}

.stat-card.orange::after {
  background: var(--warning);
}

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.stat-card.pink .stat-icon {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  color: var(--pink-600);
}

.stat-card.green .stat-icon {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: var(--success);
}

.stat-card.purple .stat-icon {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: var(--info);
}

.stat-card.orange .stat-icon {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: var(--warning);
}

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---- Cards & Panels ---- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 114, 168, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
}

.card-header {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(244, 114, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header h3 .icon {
  font-size: 22px;
}

.card-body {
  padding: 24px 28px;
}

.card-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(244, 114, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Tables ---- */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead {
  background: linear-gradient(135deg, var(--pink-50), var(--pink-100));
}

table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-700);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

table td {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(244, 114, 168, 0.06);
  vertical-align: middle;
}

table tbody tr {
  transition: var(--transition);
}

table tbody tr:hover {
  background: rgba(252, 200, 221, 0.15);
}

table tbody tr:last-child td {
  border-bottom: none;
}

/* ---- Status Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background: #e0e7ff;
  color: #3730a3;
}

.badge-pink {
  background: var(--pink-100);
  color: var(--pink-700);
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(244, 114, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--pink-50);
  border-radius: var(--radius-sm);
  font-size: 20px;
  color: var(--pink-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--pink-100);
}

.modal-body {
  padding: 24px 28px;
}

.modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--pink-50);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 22px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  text-align: center;
}

.tab-btn:hover {
  color: var(--pink-600);
}

.tab-btn.active {
  background: white;
  color: var(--pink-600);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

/* ---- Filter Bar ---- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-bar input,
.filter-bar select {
  padding: 10px 16px;
  border: 2px solid rgba(244, 114, 168, 0.15);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  background: white;
  outline: none;
  transition: var(--transition);
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(244, 114, 168, 0.1);
}

.filter-bar input {
  min-width: 220px;
}

/* ---- Toast Notification ---- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  animation: slideInRight 0.4s ease-out;
  border-left: 4px solid var(--pink-400);
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.warning {
  border-left-color: var(--warning);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast .toast-icon {
  font-size: 22px;
}

.toast .toast-message {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ---- Chart placeholder ---- */
.chart-container {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.chart-bar-group {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 20px 0;
}

.chart-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chart-bar {
  width: 100%;
  max-width: 60px;
  border-radius: 8px 8px 0 0;
  transition: height 1s ease-out;
  position: relative;
}

.chart-bar.pink {
  background: linear-gradient(180deg, var(--pink-400), var(--pink-300));
}

.chart-bar.green {
  background: linear-gradient(180deg, #34d399, #6ee7b7);
}

.chart-bar.purple {
  background: linear-gradient(180deg, #818cf8, #a5b4fc);
}

.chart-bar.orange {
  background: linear-gradient(180deg, #fbbf24, #fde68a);
}

.chart-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.chart-bar-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 50px 20px;
}

.empty-state .icon {
  font-size: 56px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-light);
}

/* ---- Grid Layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Utilities ---- */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.flex {
  display: flex;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--pink-50);
}

::-webkit-scrollbar-thumb {
  background: var(--pink-300);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink-400);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
    padding: 24px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .login-card {
    margin: 20px;
    padding: 35px 25px;
  }

  .modal {
    margin: 16px;
  }
}

/* ---- Report specific ---- */
.report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.report-item {
  background: var(--pink-50);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.report-item .value {
  font-size: 28px;
  font-weight: 800;
  color: var(--pink-600);
}

.report-item .label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---- Confirm dialog ---- */
.confirm-dialog {
  text-align: center;
  padding: 20px 0;
}

.confirm-dialog .icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.confirm-dialog h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.confirm-dialog p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}