:root {
  --bg-dark: #1e1f21;
  --bg-card: #212529;
  --text-light: #e4e6eb;
  --text-muted: #94a3b8;
  --border-color: #3a3b3d;
  --accent-color: #1abc9c;
  --input-bg: #2c3e50;
  --danger-color: #ef4444;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.wide-modal {
  max-width: 1200px;
}

.wrapper {
  display: flex;
  transition: margin-right 0.3s;
}

.content {
  flex-grow: 1;
}

.card {
  border-radius: 15px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.5rem;
}

/* Nav-tabs styling */
.nav-tabs {
  border-bottom: none;
  background-color: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
}

.nav-tabs .nav-item {
  margin-bottom: 0;
}

.nav-tabs .nav-link {
  border: none;
  color: var(--text-muted);
  padding: 15px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.nav-tabs .nav-link.active {
  color: var(--text-light);
  background-color: var(--accent-color);
  border-color: transparent;
}

/* Form styling */
.form-control, .form-select {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(26, 188, 156, 0.25);
  border-color: var(--accent-color);
}

.btn {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #16a085;
  border-color: #16a085;
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.btn-danger:hover, .btn-danger:focus {
  background-color: #dc2626;
  border-color: #dc2626;
}

/* Modal styling */
.modal-content {
  background-color: var(--bg-card);
  color: var(--text-light);
  border-radius: 15px;
}

.modal-header, .modal-footer {
  border-color: var(--border-color);
}

.modal-body {
  max-height: 400px;
  overflow-y: auto;
}

/* Additional styles */
.form-text {
  color: var(--text-muted);
}

input[type="checkbox"], input[type="radio"] {
  background-color: var(--input-bg);
  border-color: var(--border-color);
}

::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-tabs {
      flex-direction: column;
  }
  
  .nav-tabs .nav-item {
      width: 100%;
  }
  
  .nav-tabs .nav-link {
      border-radius: 0;
  }
}