/* ===== MODERN ADMIN PANEL STYLES ===== */

/* ===== BASE STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 0.5rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  color: #6b7280;
}

/* ===== LAYOUT COMPONENTS ===== */
hr {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

main {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  margin: 0;
}

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

th, td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

th:first-child {
  border-top-left-radius: 12px;
}

th:last-child {
  border-top-right-radius: 12px;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

tr:hover {
  background-color: #f9fafb;
  transition: background-color 0.2s ease;
}

/* ===== LINKS ===== */
a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover {
  color: #2563eb;
  text-decoration: none;
}

/* ===== NOTIFICATIONS ===== */
.notice, .alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.notice {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===== CARDS ===== */
.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

/* ===== GLASS DASHBOARD CARDS ===== */
.bg-white.rounded-xl {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    0 4px 16px 0 rgba(31, 38, 135, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.bg-white.rounded-xl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.bg-white.rounded-xl:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    0 12px 40px 0 rgba(31, 38, 135, 0.2),
    0 8px 24px 0 rgba(31, 38, 135, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ===== GLASS CARD ICONS ===== */
.bg-white.rounded-xl .w-8.h-8 {
  width: 3rem !important;
  height: 3rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

.bg-white.rounded-xl:hover .w-8.h-8 {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.15) !important;
}

/* ===== LARGER ICONS IN STATS CARDS ===== */
.bg-white.rounded-xl .w-8.h-8 i {
  font-size: 1.25rem !important;
}

/* ===== GLASS CARD TEXT ===== */
.bg-white.rounded-xl .text-gray-900 {
  color: #1e293b !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.bg-white.rounded-xl .text-gray-500 {
  color: #64748b !important;
  font-weight: 500 !important;
}

/* ===== GLASS CARD STATS ===== */
.bg-white.rounded-xl .text-green-600 {
  color: #059669 !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(5, 150, 105, 0.1) !important;
}

.bg-white.rounded-xl .text-red-600 {
  color: #dc2626 !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(220, 38, 38, 0.1) !important;
}

.bg-white.rounded-xl .text-yellow-600 {
  color: #d97706 !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(217, 119, 6, 0.1) !important;
}

/* ===== GLASS WARNING SECTIONS ===== */
.bg-yellow-50 {
  background: rgba(254, 243, 199, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
  box-shadow: 0 4px 12px 0 rgba(251, 191, 36, 0.1) !important;
}

.bg-red-50 {
  background: rgba(254, 242, 242, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  box-shadow: 0 4px 12px 0 rgba(239, 68, 68, 0.1) !important;
}

.bg-green-50 {
  background: rgba(240, 253, 244, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(34, 197, 94, 0.2) !important;
  box-shadow: 0 4px 12px 0 rgba(34, 197, 94, 0.1) !important;
}

/* ===== GLASS SECTION HEADERS ===== */
.bg-white.rounded-xl h3 {
  color: #1e293b !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
}

.bg-white.rounded-xl h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 1px;
}

/* ===== GLASS STATS ITEMS ===== */
.bg-white.rounded-xl .space-y-3 > div {
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.75rem !important;
  transition: all 0.2s ease !important;
}

.bg-white.rounded-xl .space-y-3 > div:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}

/* ===== GLASS MAIN CONTAINER ===== */
.max-w-7xl .bg-white.rounded-xl {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 20px 50px 0 rgba(31, 38, 135, 0.1),
    0 8px 32px 0 rgba(31, 38, 135, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4) !important;
}

/* ===== GLASS NOTIFICATIONS ===== */
.bg-green-50.border-green-200 {
  background: rgba(240, 253, 244, 0.9) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  box-shadow: 
    0 8px 25px 0 rgba(34, 197, 94, 0.15),
    0 4px 12px 0 rgba(34, 197, 94, 0.1) !important;
}

.bg-red-50.border-red-200 {
  background: rgba(254, 242, 242, 0.9) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  box-shadow: 
    0 8px 25px 0 rgba(239, 68, 68, 0.15),
    0 4px 12px 0 rgba(239, 68, 68, 0.1) !important;
}

/* ===== GLASS NOTIFICATION ICONS ===== */
.bg-green-50 .fas,
.bg-red-50 .fas {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

/* ===== GLASS SIDEBAR ===== */
.sidebar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    4px 0 20px 0 rgba(31, 38, 135, 0.1),
    2px 0 10px 0 rgba(31, 38, 135, 0.05),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.3) !important;
}

/* ===== GLASS SIDEBAR HEADER ===== */
.sidebar .bg-gradient-to-r {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(29, 78, 216, 0.9) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px 0 rgba(59, 130, 246, 0.2) !important;
}

.sidebar .bg-white.bg-opacity-20 {
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1) !important;
}

/* ===== GLASS SIDEBAR NAVIGATION ===== */
.sidebar nav {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(5px) !important;
}

/* ===== GLASS MENU SECTIONS ===== */
.sidebar .menu-section-toggle {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar .menu-section-toggle:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1) !important;
}

/* ===== GLASS ACTIVE PARENT MENU SECTION ===== */
.sidebar .menu-section-toggle.active-parent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(29, 78, 216, 0.2) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 
    0 4px 12px 0 rgba(59, 130, 246, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
  color: #1e40af !important;
}

.sidebar .menu-section-toggle.active-parent .fas {
  color: #3b82f6 !important;
  filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.2)) !important;
}

.sidebar .menu-section-toggle.active-parent span {
  color: #1e40af !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(59, 130, 246, 0.1) !important;
}

/* ===== GLASS HOVER PARENT MENU SECTION ===== */
.sidebar .menu-section-toggle.hover-parent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(29, 78, 216, 0.15) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(59, 130, 246, 0.25) !important;
  box-shadow: 
    0 4px 12px 0 rgba(59, 130, 246, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15) !important;
  color: #1e40af !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar .menu-section-toggle.hover-parent .fas {
  color: #3b82f6 !important;
  filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.15)) !important;
  transition: all 0.3s ease !important;
}

.sidebar .menu-section-toggle.hover-parent span {
  color: #1e40af !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(59, 130, 246, 0.08) !important;
  transition: all 0.3s ease !important;
}

/* ===== GLASS SIDEBAR LINKS ===== */
.sidebar a {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.sidebar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.sidebar a:hover::before {
  left: 100%;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1) !important;
}

/* ===== GLASS ACTIVE SIDEBAR LINKS ===== */
.sidebar a.bg-gradient-to-r {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(29, 78, 216, 0.3) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 
    0 4px 12px 0 rgba(59, 130, 246, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
}

/* ===== GLASS SIDEBAR ICONS ===== */
.sidebar .fas {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
  transition: all 0.3s ease !important;
}

.sidebar a:hover .fas {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) !important;
}

/* ===== GLASS SUBMENU ===== */
.sidebar .submenu {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(5px) !important;
  border-radius: 0.75rem !important;
  margin: 0.5rem 0 !important;
  padding: 0.25rem !important;
}

.sidebar .submenu a {
  background: rgba(255, 255, 255, 0.05) !important;
  margin: 0.125rem 0 !important;
  border-radius: 0.5rem !important;
}

/* ===== GLASS SIDEBAR CLOSE BUTTON ===== */
.sidebar .close-button {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

.sidebar .close-button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1) !important;
}

/* ===== GLASS SIDEBAR TEXT ===== */
.sidebar .text-white {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.sidebar .text-gray-600,
.sidebar .text-gray-700 {
  color: #374151 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.sidebar a:hover .text-gray-600,
.sidebar a:hover .text-gray-700 {
  color: #1f2937 !important;
}

/* ===== GLASS HEADER ===== */
header.bg-white {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 4px 20px 0 rgba(31, 38, 135, 0.1),
    0 2px 10px 0 rgba(31, 38, 135, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3) !important;
}

/* ===== GLASS HEADER BUTTONS ===== */
header .menu-button {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

header .menu-button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1) !important;
}

header .menu-button:focus {
  box-shadow: 
    0 0 0 2px rgba(59, 130, 246, 0.5),
    0 4px 12px 0 rgba(0, 0, 0, 0.1) !important;
}

/* ===== GLASS HEADER TEXT ===== */
header h1 {
  color: #1e293b !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

header p {
  color: #64748b !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* ===== GLASS USER PROFILE ===== */
header .bg-gray-50 {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

header .bg-gray-50:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.15) !important;
}

/* ===== GLASS USER ICON ===== */
header .bg-blue-100 {
  background: rgba(59, 130, 246, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 2px 8px 0 rgba(59, 130, 246, 0.1) !important;
  transition: all 0.3s ease !important;
}

header .bg-gray-50:hover .bg-blue-100 {
  background: rgba(59, 130, 246, 0.3) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 4px 12px 0 rgba(59, 130, 246, 0.2) !important;
  transform: scale(1.05) !important;
}

/* ===== GLASS USER TEXT ===== */
header .text-gray-900 {
  color: #1e293b !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

header .text-gray-500 {
  color: #64748b !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* ===== GLASS LOGOUT BUTTON ===== */
header .bg-red-50 {
  background: rgba(254, 242, 242, 0.8) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  box-shadow: 0 4px 12px 0 rgba(239, 68, 68, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

header .bg-red-50::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

header .bg-red-50:hover::before {
  left: 100%;
}

header .bg-red-50:hover {
  background: rgba(254, 242, 242, 0.9) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  box-shadow: 0 6px 16px 0 rgba(239, 68, 68, 0.2) !important;
}

header .bg-red-50:focus {
  box-shadow: 
    0 0 0 2px rgba(239, 68, 68, 0.5),
    0 6px 16px 0 rgba(239, 68, 68, 0.2) !important;
}

/* ===== GLASS LOGOUT ICON ===== */
header .bg-red-50 .fas {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
  transition: all 0.3s ease !important;
}

header .bg-red-50:hover .fas {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) !important;
  transform: scale(1.1) !important;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: white;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  gap: 0.5rem;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-1px);
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===== ACTION BUTTONS ===== */
.actions-container {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.action-button {
  background-color: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #6b7280;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: 6px;
}

.action-button:hover {
  color: #3b82f6;
  background-color: #f3f4f6;
  transform: scale(1.1);
}

.download-button {
  color: #3b82f6;
}

.download-button:hover {
  color: #2563eb;
  background-color: #eff6ff;
}

.delete-button {
  color: #ef4444;
  transition: all 0.2s ease;
}

.delete-button:hover {
  color: #dc2626;
  background-color: #fef2f2;
  transform: scale(1.1);
}

/* ===== TOGGLE SWITCH ===== */
.toggle-switch {
  display: inline-block;
  width: 52px;
  height: 26px;
  position: relative;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-switch label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}

.toggle-switch label span {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #e5e7eb;
  border-radius: 32px;
  position: relative;
  transition: background-color 0.3s ease;
}

.toggle-switch label span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input[type="checkbox"]:checked + label span {
  background-color: #10b981;
}

.toggle-switch input[type="checkbox"]:checked + label span::after {
  left: 28px;
}

/* ===== TABS ===== */
.tabs {
  margin-top: 1rem;
}

.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 8px 8px 0 0;
}

.tab-list li {
  padding: 0;
}

.tab-list li a {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.tab-list li a:hover {
  color: #374151;
  background-color: #f9fafb;
}

.tab-list li.active a {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  background-color: #eff6ff;
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background: white;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e5e7eb;
  border-top: none;
}

.tab-content.active {
  display: block;
}

/* ===== SELECT2 CUSTOMIZATION ===== */
.select2-container .select2-selection--multiple {
  border-radius: 8px;
  border-color: #d1d5db;
  min-height: 42px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  margin: 0.25rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: white;
  margin-right: 0.5rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #fbbf24;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  th, td {
    padding: 0.75rem 1rem;
  }
  
  .actions-container {
    justify-content: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .tab-list {
    flex-direction: column;
  }
  
  .tab-list li a {
    border-bottom: none;
    border-left: 2px solid transparent;
  }
  
  .tab-list li.active a {
    border-left-color: #3b82f6;
    border-bottom-color: transparent;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* ===== DARK MODE SUPPORT (OPTIONAL) ===== */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here */
}

/* ===== PAYMENT SPECIFIC STYLES ===== */
.payment-status {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
}

.payment-status.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.payment-status.completed {
  background-color: #d1fae5;
  color: #065f46;
}

.payment-status.failed {
  background-color: #fee2e2;
  color: #991b1b;
}

.payment-status.cancelled {
  background-color: #f3f4f6;
  color: #374151;
}

.payment-amount {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  font-weight: 600;
}

.payment-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.payment-detail-item {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem;
  border-left: 4px solid #3b82f6;
}

.payment-detail-item .label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.payment-detail-item .value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

/* ===== RESPONSIVE PAYMENT LAYOUT ===== */
@media (max-width: 768px) {
  .payment-details-grid {
    grid-template-columns: 1fr;
  }
  
  .payment-detail-item {
    padding: 0.75rem;
  }
  
  .payment-detail-item .value {
    font-size: 1rem;
  }
}

/* ===== PAGINATION STYLES ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1rem;
  list-style: none;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #64748b;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pagination a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.pagination a:hover::before {
  left: 100%;
}

.pagination a:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #3b82f6;
  color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.3), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
}

.pagination .current {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border-color: #1d4ed8;
  font-weight: 700;
  box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.4), 0 4px 6px -2px rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
}

.pagination .current:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border-color: #1e40af;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(59, 130, 246, 0.5), 0 6px 8px -2px rgba(59, 130, 246, 0.3);
}

.pagination .disabled {
  color: #94a3b8;
  cursor: not-allowed;
  background: rgba(241, 245, 249, 0.5);
  border-color: transparent;
  opacity: 0.6;
}

.pagination .disabled:hover {
  background: rgba(241, 245, 249, 0.5);
  border-color: transparent;
  color: #94a3b8;
  transform: none;
  box-shadow: none;
}

.pagination .prev,
.pagination .next {
  font-weight: 700;
  min-width: 3rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-color: #94a3b8;
  color: #475569;
}

.pagination .gap {
  color: #94a3b8;
  padding: 0.5rem 0.25rem;
  border: none;
  background: transparent;
  cursor: default;
  font-weight: 700;
  font-size: 1rem;
}

.pagination .gap:hover {
  background: transparent;
  border: none;
  color: #94a3b8;
  transform: none;
}

/* ===== RESPONSIVE PAGINATION ===== */
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 1.5rem 0;
    padding: 0.75rem;
  }
  
  .pagination a,
  .pagination span {
    font-size: 0.8rem;
    min-width: 2.25rem;
    height: 2.25rem;
  }
  
  .pagination .prev,
  .pagination .next {
    min-width: 2.5rem;
  }
}

/* ===== SUBMIT BUTTON STYLES ===== */
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ===== BLUE BUTTON STYLES ===== */
.bg-blue-600,
.bg-blue-700 {
  background-color: #1d4ed8 !important;
  color: white !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.bg-blue-600:hover,
.bg-blue-700:hover {
  background-color: #1e40af !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

input[type="submit"]:focus {
  outline: none;
}

/* Override any default browser styles for submit buttons */
input[type="submit"] {
  background-color: #1d4ed8 !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

input[type="submit"]:hover {
  background-color: #1e40af !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

input[type="submit"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px #2563eb, 0 0 0 4px white !important;
}

/* Specific styles for blue buttons */
input[type="submit"].bg-indigo-700,
input[type="submit"].bg-blue-600 {
  background-color: #2563eb !important;
  color: white !important;
}

input[type="submit"].bg-indigo-700:hover,
input[type="submit"].bg-blue-600:hover {
  background-color: #1d4ed8 !important;
}

/* Additional padding for larger buttons */
input[type="submit"].px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

input[type="submit"].py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

/* Standard padding for filter buttons */
input[type="submit"].px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

input[type="submit"].py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Margin for spacing between buttons */
input[type="submit"].mr-3 {
  margin-right: 0.75rem !important;
}

/* ===== GLASS FILTER BUTTON FOR SUBMIT INPUTS ===== */
input[type="submit"].glass-filter-btn {
  backdrop-filter: blur(20px) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 6px 20px rgba(59, 130, 246, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.025em !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

input[type="submit"].glass-filter-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.5s ease !important;
}

input[type="submit"].glass-filter-btn:hover::before {
  left: 100% !important;
}

input[type="submit"].glass-filter-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9)) !important;
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) scale(1.02) !important;
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

input[type="submit"].glass-filter-btn:active {
  transform: translateY(-1px) scale(0.98) !important;
  transition: all 0.1s ease !important;
}

input[type="submit"].glass-filter-btn:focus {
  outline: none !important;
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.2),
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* ===== GLASS ADD BUTTON (HEADER VERSION) ===== */
.glass-add-btn {
  backdrop-filter: blur(20px) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 4px 16px rgba(59, 130, 246, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.glass-add-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.5s !important;
}

.glass-add-btn:hover::before {
  left: 100% !important;
}

.glass-add-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(37, 99, 235, 1)) !important;
  box-shadow: 
    0 6px 20px rgba(59, 130, 246, 0.4),
    0 3px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.05) !important;
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.glass-add-btn:active {
  transform: scale(0.95) !important;
}

.glass-add-btn i {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
  transition: all 0.3s ease !important;
  color: white !important;
}

.glass-add-btn:hover i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
  transform: scale(1.1) !important;
  color: white !important;
}

.glass-add-btn span {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.glass-add-btn:hover span {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* ===== GLASS INPUT FIELDS ===== */
.glass-input {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 1rem !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.glass-input::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.6s ease !important;
}

.glass-input:focus::before {
  left: 100% !important;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  outline: none !important;
  transform: translateY(-2px) !important;
}

.glass-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
}

.glass-input:focus::placeholder {
  color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
}

.glass-input:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* ===== GLASS SELECT FIELDS ===== */
.glass-select {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 1rem !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

.glass-select::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.6s ease !important;
}

.glass-select:focus::before {
  left: 100% !important;
}

.glass-select:focus {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  outline: none !important;
  transform: translateY(-2px) !important;
}

.glass-select:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* ===== GLASS TEXTAREA ===== */
.glass-textarea {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 1rem !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  resize: vertical !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 100px !important;
}

.glass-textarea::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.6s ease !important;
}

.glass-textarea:focus::before {
  left: 100% !important;
}

.glass-textarea:focus {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  outline: none !important;
  transform: translateY(-2px) !important;
}

.glass-textarea:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-1px) !important;
}

.glass-textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
}

.glass-textarea:focus::placeholder {
  color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
}

/* ===== GLASS BUTTONS (GRADIENT) ===== */
.glass-btn {
  backdrop-filter: blur(25px) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.85)) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 8px 32px rgba(59, 130, 246, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 1rem !important;
  padding: 0.875rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.025em !important;
}

.glass-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.6s ease !important;
}

.glass-btn:hover::before {
  left: 100% !important;
}

.glass-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95)) !important;
  box-shadow: 
    0 12px 40px rgba(59, 130, 246, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-3px) scale(1.02) !important;
  color: white !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.glass-btn:active {
  transform: translateY(-1px) scale(0.98) !important;
  transition: all 0.1s ease !important;
}

.glass-btn:focus {
  outline: none !important;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.25),
    0 12px 40px rgba(59, 130, 246, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* ===== GLASS BUTTON VARIANTS ===== */
.glass-btn-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(5, 150, 105, 0.85)) !important;
  box-shadow: 
    0 8px 32px rgba(16, 185, 129, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.glass-btn-success:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95)) !important;
  box-shadow: 
    0 12px 40px rgba(16, 185, 129, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.glass-btn-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.85)) !important;
  box-shadow: 
    0 8px 32px rgba(239, 68, 68, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.glass-btn-danger:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95)) !important;
  box-shadow: 
    0 12px 40px rgba(239, 68, 68, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.glass-btn-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(217, 119, 6, 0.85)) !important;
  box-shadow: 
    0 8px 32px rgba(245, 158, 11, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.glass-btn-warning:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95)) !important;
  box-shadow: 
    0 12px 40px rgba(245, 158, 11, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* ===== GLASS FILTER BUTTONS ===== */
.glass-filter-btn {
  backdrop-filter: blur(20px) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 6px 20px rgba(59, 130, 246, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.025em !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.glass-filter-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.5s ease !important;
}

.glass-filter-btn:hover::before {
  left: 100% !important;
}

.glass-filter-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9)) !important;
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) scale(1.02) !important;
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.glass-filter-btn:active {
  transform: translateY(-1px) scale(0.98) !important;
  transition: all 0.1s ease !important;
}

.glass-filter-btn:focus {
  outline: none !important;
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.2),
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* ===== GLASS RESET BUTTON ===== */
.glass-reset-btn {
  backdrop-filter: blur(20px) !important;
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.8), rgba(75, 85, 99, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 6px 20px rgba(107, 114, 128, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.025em !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.glass-reset-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.5s ease !important;
}

.glass-reset-btn:hover::before {
  left: 100% !important;
}

.glass-reset-btn:hover {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.9), rgba(75, 85, 99, 0.9)) !important;
  box-shadow: 
    0 8px 25px rgba(107, 114, 128, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) scale(1.02) !important;
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.glass-reset-btn:active {
  transform: translateY(-1px) scale(0.98) !important;
  transition: all 0.1s ease !important;
}

.glass-reset-btn:focus {
  outline: none !important;
  box-shadow: 
    0 0 0 3px rgba(107, 114, 128, 0.2),
    0 8px 25px rgba(107, 114, 128, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* ===== GLASS MODAL WINDOWS ===== */
.glass-modal {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 10px 20px -5px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  border-radius: 1rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.glass-modal::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent) !important;
}

.glass-modal-header {
  backdrop-filter: blur(15px) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 1.5rem !important;
  position: relative !important;
}

.glass-modal-header::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent) !important;
}

.glass-modal-body {
  padding: 1.5rem !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

.glass-modal-footer {
  backdrop-filter: blur(15px) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 1.5rem !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
}

.glass-modal-backdrop {
  backdrop-filter: blur(8px) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease !important;
}

/* ===== GLASS TABLES ===== */
.glass-table {
  backdrop-filter: blur(15px) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
}

.glass-table-header {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  position: relative !important;
}

.glass-table-header::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent) !important;
}

.glass-table-row {
  backdrop-filter: blur(10px) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

.glass-table-row:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.glass-table-row:nth-child(even) {
  background: rgba(248, 250, 252, 0.6) !important;
}

.glass-table-row:nth-child(even):hover {
  background: rgba(248, 250, 252, 0.8) !important;
}

.glass-table-cell {
  padding: 1rem !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.glass-table-header-cell {
  padding: 1rem !important;
  color: #374151 !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em !important;
}

/* ===== GLASS NOTIFICATIONS ===== */
.glass-notification {
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  border-radius: 0.75rem !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 1rem !important;
  position: relative !important;
  overflow: hidden !important;
  animation: slideInFromTop 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-notification::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 4px !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
}

.glass-notification-success {
  background: rgba(240, 253, 244, 0.8) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
}

.glass-notification-success::before {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.8), rgba(22, 163, 74, 0.8)) !important;
}

.glass-notification-error {
  background: rgba(254, 242, 242, 0.8) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

.glass-notification-error::before {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.8)) !important;
}

.glass-notification-warning {
  background: rgba(255, 251, 235, 0.8) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

.glass-notification-warning::before {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.8), rgba(217, 119, 6, 0.8)) !important;
}

.glass-notification-info {
  background: rgba(239, 246, 255, 0.8) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}

.glass-notification-info::before {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
}

.glass-notification-content {
  color: #1e293b !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  margin-left: 1rem !important;
}

.glass-notification-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
  margin-right: 0.75rem !important;
}

/* ===== GLASS SEARCH AND FILTERS ===== */
.glass-search-container {
  backdrop-filter: blur(25px) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  border-radius: 2rem !important;
  padding: 2rem !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.glass-search-container:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.1),
    0 12px 35px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-2px) !important;
}

.glass-search-container::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(59, 130, 246, 0.4), 
    rgba(147, 51, 234, 0.4), 
    rgba(59, 130, 246, 0.4), 
    transparent) !important;
  border-radius: 2rem 2rem 0 0 !important;
}

.glass-search-header {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 1.5rem 2rem !important;
  margin: -2rem -2rem 2rem -2rem !important;
  position: relative !important;
  border-radius: 2rem 2rem 0 0 !important;
}

.glass-search-header::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 2rem !important;
  right: 2rem !important;
  height: 1px !important;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(59, 130, 246, 0.3), 
    transparent) !important;
}

.glass-search-title {
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
  background: linear-gradient(135deg, #1e293b, #475569) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.glass-filter-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.glass-filter-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  position: relative !important;
}

.glass-filter-label {
  color: #374151 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 0.25rem !important;
  position: relative !important;
  padding-left: 0.5rem !important;
}

.glass-filter-label::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 16px !important;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
  border-radius: 2px !important;
}

.glass-search-actions {
  display: flex !important;
  gap: 1rem !important;
  justify-content: flex-end !important;
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: relative !important;
}

.glass-search-actions::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(59, 130, 246, 0.2), 
    transparent) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.glass-fade-in {
  animation: fadeIn 0.3s ease-out !important;
}

.glass-slide-in-right {
  animation: slideInFromRight 0.3s ease-out !important;
}
