:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --dark-bg: #1a1a1a;
  --darker-bg: #121212;
  --card-bg: #2c2c2c;
  --input-bg: #3a3a3a;
  --text-color: #e0e0e0;
  --border-color: #444;
  --sidebar-width: 250px;
  --topbar-height: 60px;
}
.material-icons {
  font-size: 24px;
  color: white;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: var(--darker-bg);
  color: var(--text-color);
  height: 100vh;
  overflow: hidden;
  display: flex;
}
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--dark-bg);
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
}
.sidebar.active {
  transform: translateX(0);
}
.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: white
}
.sidebar-menu {
  padding: 15px 0;
  flex: 1;
  overflow-y: auto;
}
.menu-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  color: var(--text-color);
  text-decoration: none;
}
.menu-item:hover,
.menu-item.active {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
}
.menu-item i {
  width: 24px;
  text-align: center;
}
.sidebar-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: margin-left 0.3s ease;
}
@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
  }
}
@media (min-width: 769px) {
  .sidebar {
    position: static;
    transform: translateX(0);
  }
  .main-content {
    margin-left: var(--sidebar-width);
  }
}
.topbar {
  height: var(--topbar-height);
  background-color: var(--dark-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
}
.topbar-title {
  font-size: 18px;
  font-weight: 600;
  flex-grow: 1;
  text-align: center;
}
.topbar-actions {
  display: flex;
  gap: 10px;
}
.btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-primary {
  background-color: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}
.content-area {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: linear-gradient(135deg, var(--darker-bg) 0%, #2d2d2d 100%);
}
.page {
  display: none;
}
.page.active {
  display: block;
}
.page-header {
  margin-bottom: 20px;
}
.page-title {
  font-size: 24px;
  margin-bottom: 10px;
}
.page-subtitle {
  color: #aaa;
  font-size: 14px;
}
.card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.card-title {
  font-size: 18px;
  font-weight: 600;
}
.form-group {
  margin-bottom: 15px;
}
.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 14px;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #404040;
}
.password-input-group {
  display: flex;
  gap: 5px;
}
.password-input-group input {
  flex: 1;
}
.password-input-group button {
  padding: 12px 15px;
}
.list {
  list-style: none;
}
.list-item {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-item:last-child {
  border-bottom: none;
}
.item-info {
  flex: 1;
}
.item-title {
  font-weight: 600;
  color: #6ea8fe;
  margin-bottom: 3px;
}
.item-subtitle {
  font-size: 13px;
  color: #aaa;
}
.item-actions {
  display: flex;
  gap: 8px;
}
.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.btn-danger {
  background-color: var(--danger-color);
  color: white;
}
.btn-danger:hover {
  background-color: #c82333;
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}
.btn-secondary:hover {
  background-color: #5a6268;
}
.btn-warning {
  background-color: var(--warning-color);
  color: #212529;
}
.btn-warning:hover {
  background-color: #e0a800;
}
.password-hidden {
  font-family: monospace;
  letter-spacing: 2px;
  color: #aaa;
}
.reveal-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 12px;
  margin-left: 10px;
  text-decoration: underline;
}
.reveal-btn:hover {
  color: var(--primary-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.stat-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}
.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 10px 0;
}
.stat-label {
  font-size: 13px;
  color: #aaa;
}
.profile-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  margin: 0 auto 20px;
}
.profile-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-row {
  display: flex;
  gap: 10px;
}
.detail-label {
  font-weight: 600;
  min-width: 120px;
}
.detail-value {
  color: #aaa;
}
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification.show {
  opacity: 1;
  transform: translateX(0);
}
.notification.success {
  background-color: var(--success-color);
}
.notification.error {
  background-color: var(--danger-color);
}
.search-bar {
  display: flex;
  margin-bottom: 20px;
}
.search-bar input {
  flex: 1;
  margin-right: 10px;
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-right: 15px;
  z-index: 101;
  transition: opacity 0.2s ease;
}
.hamburger.hidden {
  opacity: 0;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .sidebar {
    width: 200px;
  }
  .topbar-title {
    margin-left: 10px;
  }
}
.hidden {
  display: none !important;
}