/*!
 * Start Bootstrap - SB Admin 2 v4.1.4 (https://startbootstrap.com/theme/sb-admin-2)
 * Copyright 2013-2021 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin-2/blob/master/LICENSE)
 */

:root {
  --primary: #4e73df;
  --success: #1cc88a;
  --info: #36b9cc;
  --warning: #f6c23e;
  --danger: #e74a3b;
  --secondary: #858796;
  --light: #f8f9fc;
  --dark: #5a5c69;
}

/* Topbar */
.topbar {
  height: 4.375rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  color: white;
}

.topbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.topbar-brand i {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.topbar-nav {
  display: flex;
  align-items: center;
}

/* Sidebar */
.sidebar {
  width: 14rem;
  background: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: all 0.3s;
}

.sidebar.collapsed {
  width: 4.5rem;
}

.sidebar-brand {
  height: 4.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-brand:hover {
  color: white;
  text-decoration: none;
}

.sidebar-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-menu a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.sidebar-menu a.active {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-menu i {
  width: 1.5rem;
  margin-right: 0.75rem;
  text-align: center;
}

/* Main content */
.main-content {
  margin-left: 14rem;
  transition: all 0.3s;
}

.main-content.expanded {
  margin-left: 4.5rem;
}

.content-wrapper {
  padding: 1.5rem;
  min-height: calc(100vh - 4.375rem);
  background: #f8f9fc;
}

/* Cards */
.card {
  background: white;
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  margin-bottom: 1.5rem;
}

.card-header {
  background: white;
  border-bottom: 1px solid #e3e6f0;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #5a5c69;
}

.card-body {
  padding: 1.25rem;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #2e59d9;
  border-color: #2653d4;
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
}

.btn-info {
  background: var(--info);
  border-color: var(--info);
}

.btn-warning {
  background: var(--warning);
  border-color: var(--warning);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.show {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
} 