body {
  background-color: #f8f9fa;
}
.navbar {
  background-color: #2c3e50 !important;
}
.navbar-brand {
  font-weight: 700;
  color: #fff !important;
}
.sidebar {
  background-color: #34495e;
  min-height: 100vh;
  padding: 20px 0;
  overflow: visible;
}
.sidebar a {
  color: #ecf0f1;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}
.sidebar a:hover {
  color: #ecf0f1;
  background-color: #2c3e50;
  border-left-color: #3498db;
}
.sidebar a.active {
  background-color: #3498db;
  border-left-color: #3498db;
}
.main-content {
  padding: 30px;
}
.card {
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.card-header {
  background-color: #3498db;
  color: white;
  border: none;
}
.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
}
.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
}
.table {
  font-size: 0.9rem;
}
.stat-card {
  border-left: 4px solid #3498db;
  padding: 20px;
  margin-bottom: 15px;
  background: white;
}
.stat-card h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin: 0;
}
.stat-card p {
  color: #7f8c8d;
  margin: 0;
}

/*Login*/
body.login-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h1 {
  font-size: 28px;
  color: #667eea;
  font-weight: bold;
  margin-bottom: 5px;
}

.login-header p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-group {
  margin-bottom: 20px;
}

label {
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.btn-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 5px;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-login:active {
  transform: translateY(0);
}

.alert {
  border-radius: 5px;
  border: none;
  margin-bottom: 20px;
}

.superadmin-badge {
  display: inline-block;
  background: #ffc107;
  color: #333;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
}

/*Dashboard*/
.menu-card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.menu-card-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.menu-card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.menu-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.menu-card-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.menu-card-footer {
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.btn-menu {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.btn-menu:hover {
  color: white;
  transform: scale(1.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #667eea;
}

.stat-label {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #e0e0e0;
}

/*Convenience Fees*/
.page-header h1 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}

.alert {
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
}

.table-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.table {
  margin: 0;
}

.table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.table thead th {
  padding: 15px;
  font-weight: 600;
  border: none;
  vertical-align: middle;
}

.table tbody td {
  padding: 15px;
  vertical-align: middle;
  border-top: 1px solid #e0e0e0;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

.badge-type {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-percentage {
  background-color: #e3f2fd;
  color: #1976d2;
}

.badge-amount {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-sm-custom {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-edit {
  background-color: #2196F3;
  color: white;
}

.btn-edit:hover {
  background-color: #1976D2;
  color: white;
}

.btn-delete {
  background-color: #f44336;
  color: white;
}

.btn-delete:hover {
  background-color: #da190b;
  color: white;
}

.pagination {
  margin-top: 20px;
  justify-content: center;
}

/* Dropdown Menu Styles for Sidebar */
.sidebar .nav-item.dropdown {
  position: static !important;
}

.sidebar .nav-link.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
}

.sidebar .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  border-right: 2px solid #ecf0f1;
  border-bottom: 2px solid #ecf0f1;
  transform: rotate(-45deg);
  margin-left: auto;
  flex-shrink: 0;
}

.sidebar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(135deg);
}

.sidebar .dropdown-menu {
  position: static !important;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background-color: #2c3e50;
  box-shadow: none !important;
  display: none;
  min-width: unset;
  transform: none !important;
  inset: auto !important;
}

.sidebar .dropdown-menu.show {
  display: block !important;
}

.sidebar .dropdown-menu li {
  display: block;
  width: 100%;
}

.sidebar .dropdown-menu .dropdown-item {
  padding: 10px 20px 10px 40px;
  color: #ecf0f1;
  text-decoration: none;
  display: block;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  background-color: transparent;
  position: static !important;
  width: 100%;
}

.sidebar .dropdown-menu .dropdown-item:hover {
  color: #ecf0f1;
  background-color: #1a252f;
  border-left-color: #3498db;
  text-decoration: none;
}

.sidebar .dropdown-menu .dropdown-item.active {
  background-color: #3498db;
  border-left-color: #3498db;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
