:root {
  /* Direct hex colors to avoid any variable issues */
  --navy: #001F3F;
  --mauve: #E0B0FF;
  --pink: #FFC0CB;
  --blush: #FFB6C1;
  --prune: #701C1C;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main body background - ORIGINAL FULL SIZE GRADIENT */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--mauve), var(--pink), var(--blush));
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--navy);
  line-height: 1.6;
}

/* Container styling */
.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Basic styling for other elements */
.navbar {
  background: linear-gradient(90deg, #001F3F, #701C1C);
  color: white;
  padding: 15px 25px;
  border-radius: 15px;
  margin-bottom: 20px;
}

h1, h2, h5 {
  color: #001F3F;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card-header {
  background: linear-gradient(135deg, #001F3F, #701C1C);
  color: white;
  padding: 15px 20px;
  border-radius: 10px 10px 0 0;
  margin: -20px -20px 20px -20px;
}

.btn-primary {
  background: linear-gradient(135deg, #001F3F, #003366);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
}

.btn-secondary {
  background: linear-gradient(135deg, #701C1C, #8B0000);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
}

.btn-success {
  background: linear-gradient(135deg, #FFC0CB, #FFB6C1);
  color: #001F3F;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
}

.btn-warning {
  background: linear-gradient(135deg, #FFB6C1, #E0B0FF);
  color: #001F3F;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
}

.btn-danger {
  background: linear-gradient(135deg, #E0B0FF, #C79BC4);
  color: #001F3F;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
}

.btn-info {
  background: linear-gradient(135deg, #701C1C, #001F3F);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
}

.btn {
  border-radius: 25px;
  margin: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer styling */
footer {
  background: linear-gradient(135deg, #001F3F, #701C1C);
  color: #D2B48C;
  padding: 20px;
  text-align: center;
  margin-top: 50px;
  border-radius: 20px 20px 0 0;
}

footer p {
  color: #D2B48C;
}

/* Table styling */
.table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.table thead th {
  background: linear-gradient(135deg, #001F3F, #701C1C);
  color: white;
}

/* Form controls */
.form-control {
  border: 2px solid #FFB6C1;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.form-control:focus {
  border-color: #FFC0CB;
  box-shadow: 0 0 0 0.2rem rgba(255, 182, 193, 0.25);
}

/* Alert styling */
.alert-success {
  background: rgba(112, 28, 28, 0.1);
  border-left: 5px solid #701C1C;
}

.alert-danger {
  background: rgba(255, 182, 193, 0.2);
  border-left: 5px solid #FFB6C1;
}

/* Sidebar Layout */
#wrapper {
  min-height: 100vh;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: -250px;
}

/* Main Content Wrapper */
#page-content-wrapper {
  width: 100%;
  transition: margin .25s ease-out;
}

/* Responsive adjustments */
@media (min-width: 992px) {
  #wrapper.toggled {
    padding-left: 0;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
  }

  #wrapper.toggled #page-content-wrapper {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  #sidebar-wrapper {
    margin-left: -250px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
  }

  #wrapper.toggled #page-content-wrapper {
    margin-left: 0;
  }

  #wrapper.toggled::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }
}

/* Sidebar Navigation */
#sidebar-wrapper .nav-link {
  background: transparent;
  color: #adb5bd;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

#sidebar-wrapper .nav-link:hover {
  background-color: #495057;
  color: #fff;
  border-left-color: #FFC0CB;
  text-decoration: none;
}

#sidebar-wrapper .nav-link.active,
#sidebar-wrapper .nav-link.active:hover {
  background-color: #495057;
  color: #fff;
  border-left-color: #FFC0CB;
}

/* Stats Cards */
.card .card-body h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card .card-body p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Badge improvements */
.badge {
  font-size: 0.8em;
}

/* Animations for content sections */
.content-section {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#001F3F, #701C1C);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#701C1C, #001F3F);
}

