/* Contents: modern-variables, modern-components, modern-animations, modern-forms,
   modern-tables, modern-sidebar, modern-header, modern-footer, modern-views,
   modern-search, modern-sweetalert */

/**
 * EventFlow Admin - Modern Design System Variables
 *
 *
 * Purpose: Central design token system for consistent styling
 * Usage: Import in base.html.twig before other CSS files
 */

:root {
  /* ========== PRIMARY COLORS ========== */
  /* Maintaining current brand identity #44b0ec */
  --primary-50: #e8f5fb;
  --primary-100: #c5e7f6;
  --primary-200: #9ed7f0;
  --primary-300: #77c7ea;
  --primary-400: #5abbdf;
  --primary-500: #44b0ec;  /* Current brand color */
  --primary-600: #3a9dd4;
  --primary-700: #2d89bb;
  --primary-800: #2076a3;
  --primary-900: #0a5578;

  /* ========== NEUTRAL GRAYS ========== */
  /* Maintaining current text color #203042 */
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #203042;  /* Current text color */

  /* ========== SEMANTIC COLORS ========== */
  --success: #28a745;
  --success-light: #d4edda;
  --success-dark: #155724;

  --warning: #ffc107;
  --warning-light: #fff3cd;
  --warning-dark: #856404;

  --danger: #dc3545;
  --danger-light: #f8d7da;
  --danger-dark: #721c24;

  --info: #17a2b8;
  --info-light: #d1ecf1;
  --info-dark: #0c5460;

  /* Precomputed color shades for browser compatibility (replaces color-mix()) */
  --success-85: #218838;  /* For gradients: 85% success + 15% black */
  --success-75: #1e7e34;  /* For gradients: 75% success + 25% black */

  --danger-85: #c82333;   /* For gradients: 85% danger + 15% black */
  --danger-75: #bd2130;   /* For gradients: 75% danger + 25% black */

  /* ========== SPACING SCALE ========== */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */

  /* ========== SHADOWS ========== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
               0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
               0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
               0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* ========== BORDER RADIUS ========== */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* ========== TRANSITIONS ========== */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* ========== TYPOGRAPHY ========== */
  --font-primary: 'plusjakarta', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;

  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 2rem;        /* 32px */
  --font-size-4xl: 2.5rem;      /* 40px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ========== Z-INDEX SCALE ========== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}
/**
 * EventFlow Admin - Modern Components
 *
 *
 * Enhanced visual styles for buttons, inputs, cards, badges
 * Uses CSS variables from modern-variables.css
 */

/* ========== ENHANCED BUTTONS ========== */
html body .default_btn,
html body .section_container .default_btn {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.025em;
  border: none;
  cursor: pointer;
}

html body .default_btn:hover,
html body .section_container .default_btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

html body .default_btn:active,
html body .section_container .default_btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

html body .default_btn:focus,
html body .section_container .default_btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-100);
}

.btn-secondary {
  background: white;
  color: var(--primary-500);
  border: 2px solid var(--primary-500);
}

.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger-85) 100%);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(135deg, var(--danger-85) 0%, var(--danger-75) 100%);
}

.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-85) 100%);
  color: white;
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--success-85) 0%, var(--success-75) 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-500);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--primary-50);
  box-shadow: none;
  transform: none;
}

/* Action buttons (existing class enhanced) */
html body .action_btn,
html body .section_container .action_btn,
html body .app_table_cell .action_btn {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
}

html body .action_btn:hover,
html body .section_container .action_btn:hover,
html body .app_table_cell .action_btn:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ========== ENHANCED INPUTS ========== */
html body input:focus,
html body select:focus,
html body textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

html body input:hover:not(:focus),
html body select:hover:not(:focus),
html body textarea:hover:not(:focus) {
  border-color: var(--gray-400);
}

input.error,
select.error,
textarea.error {
  border-color: var(--danger);
}

input.error:focus,
select.error:focus,
textarea.error:focus {
  box-shadow: 0 0 0 3px var(--danger-light);
}

/* Success states */
input.success,
select.success,
textarea.success {
  border-color: var(--success);
}

input.success:focus,
select.success:focus,
textarea.success:focus {
  box-shadow: 0 0 0 3px var(--success-light);
}

/* ========== MODERN CARDS ========== */
.modern-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.modern-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.modern-card-header {
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
}

.modern-card-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin: 0;
  font-family: var(--font-primary);
}

.modern-card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-top: var(--space-xs);
}

.modern-card-body {
  padding: var(--space-md) 0;
}

.modern-card-footer {
  border-top: 1px solid var(--gray-100);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

/* ========== BADGES ========== */
.modern-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-primary);
}

.badge-primary {
  background: var(--primary-100);
  color: var(--primary-700);
}

.badge-success {
  background: var(--success-light);
  color: var(--success-dark);
}

.badge-warning {
  background: var(--warning-light);
  color: var(--warning-dark);
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger-dark);
}

.badge-info {
  background: var(--info-light);
  color: var(--info-dark);
}

.badge-gray {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* ========== LOADING STATES ========== */
.modern-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.modern-spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.modern-spinner-lg {
  width: 60px;
  height: 60px;
  border-width: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--gray-100) 25%,
    var(--gray-200) 50%,
    var(--gray-100) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
  height: 1rem;
}

.skeleton-text {
  height: 0.875rem;
  margin-bottom: var(--space-sm);
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: var(--space-md);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== ALERTS / MESSAGES ========== */
.modern-alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.alert-info {
  background: var(--info-light);
  border-color: var(--info);
  color: var(--info-dark);
}

.alert-success {
  background: var(--success-light);
  border-color: var(--success);
  color: var(--success-dark);
}

.alert-warning {
  background: var(--warning-light);
  border-color: var(--warning);
  color: var(--warning-dark);
}

.alert-danger {
  background: var(--danger-light);
  border-color: var(--danger);
  color: var(--danger-dark);
}
/**
 * EventFlow Admin - Modern Animations
 *
 *
 * Smooth transitions and animations for enhanced UX
 */

/* ========== FADE ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-base);
}

.fade-out {
  animation: fadeOut var(--transition-base);
}

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

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

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

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

.slide-in-down {
  animation: slideInDown var(--transition-base);
}

.slide-in-up {
  animation: slideInUp var(--transition-base);
}

.slide-in-left {
  animation: slideInLeft var(--transition-base);
}

.slide-in-right {
  animation: slideInRight var(--transition-base);
}

/* ========== SCALE ANIMATIONS ========== */
@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.9);
    opacity: 0;
  }
}

.scale-in {
  animation: scaleIn var(--transition-base);
}

.scale-out {
  animation: scaleOut var(--transition-base);
}

/* ========== PULSE ANIMATION ========== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========== BOUNCE ANIMATION ========== */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 1s infinite;
}

/* ========== SHAKE ANIMATION ========== */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.5s;
}

/* ========== LOADING ANIMATION ========== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 1s linear infinite;
}

/* ========== SKELETON LOADING ========== */
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========== TRANSITION UTILITIES ========== */
.transition-all {
  transition: all var(--transition-base);
}

.transition-colors {
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base);
}

.transition-opacity {
  transition: opacity var(--transition-base);
}

.transition-transform {
  transition: transform var(--transition-base);
}

.transition-fast {
  transition-duration: var(--transition-fast);
}

.transition-slow {
  transition-duration: var(--transition-slow);
}

/* ========== HOVER EFFECTS ========== */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hover-grow {
  transition: transform var(--transition-base);
}

.hover-grow:hover {
  transform: scale(1.05);
}

.hover-brightness {
  transition: filter var(--transition-base);
}

.hover-brightness:hover {
  filter: brightness(1.1);
}

/* ========== PAGE TRANSITIONS ========== */
.page-enter {
  animation: fadeIn var(--transition-base);
}

.page-exit {
  animation: fadeOut var(--transition-base);
}

.plus_field_datetime .pdt_time_ampm {
    width: 6rem;
    padding-right: 1rem;
}

.form_container_event_order select[name="event_order_form[ticketType]"] {
    min-width: fit-content;
    max-width: 30rem;
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/**
 * EventFlow Admin - Modern Forms
 *
 *
 * Beautiful form styling with modern design
 * Uses CSS variables from modern-variables.css
 */

/* ========== FORM CONTAINER ========== */
html body .form_container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* Form labels - EXCLUDE radio button labels */
html body form label:not(.form_radios_row label):not(.form_radios_row *) {
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

/* Radio button labels should be inline */
html body .form_radios_row label {
  font-weight: var(--font-weight-normal);
  text-transform: none;
  letter-spacing: normal;
  font-size: var(--font-size-base);
  display: inline;
  margin: 0;
}

/* Form inputs - using html body prefix for high specificity */
html body form input[type="text"],
html body form input[type="password"],
html body form input[type="email"],
html body form input[type="date"],
html body form input[type="number"],
html body form input[type="tel"],
html body form input[type="url"],
html body form select,
html body form textarea {
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-secondary);
  transition: all var(--transition-fast);
  background: white;
  box-shadow: var(--shadow-sm);
}

html body form input:focus,
html body form select:focus,
html body form textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

html body form input:hover:not(:focus),
html body form select:hover:not(:focus),
html body form textarea:hover:not(:focus) {
  border-color: var(--gray-400);
}

/* Textareas */
html body form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Select dropdowns */
html body form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-3xl);
}

/* Radio buttons container - MINIMAL STYLING ONLY */
html body .form_radios_row {
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
}

/* DO NOT touch display, layout, or positioning of radio elements */
/* Let Symfony's default structure work naturally */

/* ========== ERROR MESSAGES ========== */
html body .general_form_error {
  background: linear-gradient(135deg, var(--danger-light) 0%, #fecaca 100%);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
  animation: shake 0.5s;
}

html body .error_announcement {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--danger-dark);
  margin-bottom: var(--space-sm);
  font-family: var(--font-primary);
}

html body .error_details {
  color: var(--danger-dark);
  font-family: var(--font-secondary);
  line-height: 1.6;
}

html body .form_field_error_message {
  color: var(--danger);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--space-xs);
  font-family: var(--font-secondary);
  border-radius: var(--radius-sm);
  display: none;
}

html body .form_field_error_message:not(:empty) {
  display: block;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ========== FORM INFO SECTION ========== */
html body .form_info_section {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
}

html body .form_info_text {
  color: var(--info-dark);
  font-size: var(--font-size-sm);
  font-family: var(--font-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ========== SUBMIT BUTTONS ========== */
html body form button[type="submit"],
html body form input[type="submit"] {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.025em;
}

html body form button[type="submit"]:hover,
html body form input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

html body form button[type="submit"]:active,
html body form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

html body form button[type="submit"]:disabled,
html body form input[type="submit"]:disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

/* ========== PROFILE VIEW ========== */
html body .view_profile_page_section p {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin: var(--space-sm) 0;
  align-items: center;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

html body .view_profile_page_section p:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

html body .view_profile_row_value {
  color: var(--gray-900);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  text-transform: none;
  letter-spacing: normal;
}

html body .view_profile_page_section .img_uploaded_image {
  max-width: 200px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

/* ========== FORM WITH PASSWORD ========== */
html body .form_with_pwd {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl);
}

/* ========== RESPONSIVE FORMS ========== */
@media (max-width: 768px) {
  html body .view_profile_page_section p {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  html body .view_profile_row_value {
    padding-top: var(--space-xs);
    border-top: 1px solid var(--gray-200);
  }

  html body form input[type="text"],
  html body form input[type="password"],
  html body form input[type="email"],
  html body form input[type="date"],
  html body form input[type="number"],
  html body form select,
  html body form textarea {
    font-size: var(--font-size-base);
  }
}
/**
 * EventFlow Admin - Modern Tables
 *
 *
 * Enhanced table styles with modern design
 * Compatible with DataTables library
 */

/* ========== BASE TABLE ENHANCEMENTS ========== */
/* High specificity to override main.css */
html body .app_table,
html body .section_container .app_table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  table-layout: fixed;
}

/* Table headers */
html body .app_table thead th,
html body .section_container .app_table thead th {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
  color: var(--gray-900);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  padding: 6px 12px;
  border-bottom: 2px solid var(--gray-200);
  border-left: none;
  border-right: none;
  border-top: none;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .app_table thead tr,
html body .section_container .app_table thead tr {
  background: none;
}

/* Table body rows */
html body .app_table tbody tr,
html body .section_container .app_table tbody tr {
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
}

html body .app_table tbody tr:last-child,
html body .section_container .app_table tbody tr:last-child {
  border-bottom: none;
}

html body .app_table tbody tr:hover,
html body .section_container .app_table tbody tr:hover {
  background-color: var(--primary-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* Table cells */
html body .app_table tbody td,
html body .section_container .app_table tbody td {
  padding: 6px 12px;
  color: var(--gray-700);
  font-family: var(--font-secondary);
  border: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body .app_table th,
html body .section_container .app_table th {
  border: none;
}

html body .app_table td,
html body .section_container .app_table td {
  border: none;
}

html body .app_table_cell,
html body .section_container .app_table_cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: auto;
  display: block;
  align-items: flex-start;
}

/* Zebra striping (optional) */
.app_table.table-striped tbody tr:nth-child(even) {
  background-color: var(--gray-50);
}

.app_table.table-striped tbody tr:nth-child(even):hover {
  background-color: var(--primary-50);
}

/* ========== MODERN TABLE VARIANT ========== */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.modern-table thead th {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
  color: var(--gray-900);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 2px solid var(--gray-200);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-primary);
}

.modern-table tbody tr {
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
}

.modern-table tbody tr:hover {
  background-color: var(--primary-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.modern-table tbody td {
  padding: var(--space-md) var(--space-lg);
  color: var(--gray-700);
  font-family: var(--font-secondary);
}

/* ========== TABLE ACTIONS ========== */
.table-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.table-action-btn {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.table-action-btn:hover {
  background: var(--primary-100);
  color: var(--primary-700);
  transform: scale(1.05);
}

.table-action-btn.danger:hover {
  background: var(--danger-light);
  color: var(--danger);
}

/* ========== TABLE EMPTY STATE ========== */
.table-empty {
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  color: var(--gray-500);
}

.table-empty-icon {
  font-size: var(--font-size-4xl);
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.table-empty-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.table-empty-text {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

/* ========== DATATABLES CUSTOM STYLING ========== */
/* DataTables pagination */
html body .dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: var(--space-xs) var(--space-md);
  margin: 0 var(--space-xs);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

html body .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
}

html body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
}

html body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* DataTables search input */
html body .dataTables_wrapper .dataTables_filter input {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-left: var(--space-sm);
  transition: all var(--transition-fast);
  width: 200px;
  max-width: 100%;
}

html body .dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

/* DataTables length selector */
html body .dataTables_wrapper .dataTables_length select {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-md);
  margin: 0 var(--space-sm);
  transition: all var(--transition-fast);
}

html body .dataTables_wrapper .dataTables_length select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

/* DataTables info */
.dataTables_wrapper .dataTables_info {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  padding: var(--space-md) 0;
}

/* DataTables processing */
.dataTables_wrapper .dataTables_processing {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  font-family: var(--font-primary);
  color: var(--gray-700);
}

/* ========== DATATABLES WRAPPER RESPONSIVE ========== */
html body .dataTables_wrapper {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

html body .dataTables_wrapper .dataTables_scroll {
  width: 100%;
  max-width: 100%;
}

html body .dataTables_wrapper .dataTables_scrollBody {
  overflow-x: auto;
  max-width: 100%;
}

/* Prevent DataTables from making tables too wide */
html body .dataTables_wrapper table {
  max-width: 100%;
}

/* DataTables header and footer layout */
html body .dataTables_wrapper .dataTables_length,
html body .dataTables_wrapper .dataTables_filter {
  display: inline-block;
  margin-bottom: var(--space-md);
}

html body .dataTables_wrapper .dataTables_length {
  float: left;
}

html body .dataTables_wrapper .dataTables_filter {
  float: right;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body .dataTables_wrapper .dataTables_filter label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
}

html body .dataTables_wrapper .dataTables_info {
  float: left;
  padding-top: var(--space-md);
  clear: both;
}

html body .dataTables_wrapper .dataTables_paginate {
  float: right;
  padding-top: var(--space-md);
}

/* Clear floats */
html body .dataTables_wrapper::after {
  content: "";
  display: table;
  clear: both;
}

/* Make table cells wrap text properly */
html body .app_table td,
html body .section_container .app_table td {
  white-space: normal;
  word-wrap: break-word;
}

/* ========== RESPONSIVE TABLES ========== */
@media (max-width: 768px) {
  html body .app_table,
  html body .modern-table {
    font-size: var(--font-size-sm);
  }

  html body .app_table thead th,
  html body .modern-table thead th,
  html body .app_table tbody td,
  html body .modern-table tbody td {
    padding: var(--space-sm) var(--space-md);
  }

  html body .dataTables_wrapper .datatable-header,
  html body .dataTables_wrapper .datatable-footer {
    flex-direction: column;
    align-items: stretch;
  }

  html body .dataTables_wrapper .dataTables_length,
  html body .dataTables_wrapper .dataTables_filter {
    text-align: left;
  }
}
/**
 * EventFlow Admin - Modern Sidebar
 *
 *
 * Beautiful, modern sidebar navigation with hover effects and gradients
 * Uses CSS variables from modern-variables.css
 */

/* ========== SIDEBAR CONTAINER ========== */
html body .app_side_menu {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
  padding: var(--space-xl) 0;
  min-height: 100vh;
  width: 20%;
  min-width: 16rem;
  position: relative;
  transition: all 0.3s ease;
}


/* Logo container */
html body .app_side_menu > div:first-child {
  padding: 0 var(--space-lg) var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--space-lg);
}

html body .app_side_menu .logo {
  width: 180px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transition: all var(--transition-base);
}

html body .app_side_menu .logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(138, 92, 246, 0.3));
}

/* Organization name under logo */
html body .app_side_menu > div:first-child > p {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin-top: var(--space-sm);
  font-family: var(--font-secondary);
  text-align: center;
  font-weight: var(--font-weight-medium);
}

/* ========== SIDEBAR MENU ========== */
html body .sidebar_menu {
  list-style: none;
  padding: 0 var(--space-md);
  margin: 0;
}

html body .sidebar_menu li {
  margin-bottom: var(--space-xs);
}

html body .sidebar_menu a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  position: relative;
  overflow: hidden;
}

/* Hover effect with gradient */
html body .sidebar_menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #44b0ec 0%, #3a9fd9 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

html body .sidebar_menu a:hover {
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(68, 176, 236, 0.3);
  border-left: 4px solid #8a5cf6;
  padding-left: calc(var(--space-lg) - 4px);
}

html body .sidebar_menu a:hover::before {
  opacity: 1;
}

/* Active/Selected entry */
html body .sidebar_menu a.sidebar_entry_selected {
  background: linear-gradient(135deg, #44b0ec 0%, #3a9fd9 100%);
  color: white;
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 4px 12px rgba(68, 176, 236, 0.4);
  border-left: 4px solid #8a5cf6;
  padding-left: calc(var(--space-lg) - 4px);
}

html body .sidebar_menu a.sidebar_entry_selected::before {
  opacity: 1;
}

/* Nested menu items (level 2) */
html body .sidebar_menu ul {
  list-style: none;
  padding-left: var(--space-lg);
  margin-top: var(--space-xs);
  border-left: 2px solid var(--gray-200);
  margin-left: var(--space-md);
}

html body .sidebar_menu ul li {
  margin-bottom: var(--space-xs);
}

html body .sidebar_menu ul a {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

html body .sidebar_menu ul a:hover {
  color: white;
}

/* ========== PINNED ITEMS ========== */
html body .sidebar_pinned {
  list-style: none;
  padding: 0 var(--space-md);
  margin: var(--space-lg) 0 0 0;
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-lg);
}

html body .sidebar_pinned li.sidebar_pin_entry {
  margin-bottom: var(--space-xs);
}

html body .sidebar_pinned li.sidebar_pin_entry a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  background: var(--gray-50);
}

html body .sidebar_pinned li.sidebar_pin_entry a:hover {
  background: #44b0ec;
  color: white;
  transform: translateX(4px);
  border-left: 3px solid #8a5cf6;
  padding-left: calc(var(--space-md) - 3px);
}

/* ========== SIDEBAR GLOBALS (User info at bottom) ========== */
html body .sidebar_globals {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  background: linear-gradient(180deg, transparent 0%, var(--gray-50) 100%);
}

html body .sidebar_globals p {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin: var(--space-xs) 0;
  font-family: var(--font-secondary);
}

html body .sidebar_globals a {
  color: #44b0ec;
  text-decoration: none;
  transition: color var(--transition-fast);
}

html body .sidebar_globals a:hover {
  color: #3a9fd9;
  text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  html body .app_side_menu {
    width: 25%;
    min-width: 14rem;
  }
}

@media (max-width: 768px) {
  /* Mobile: Compact horizontal menu */
  html body .app_side_menu {
    width: 100%;
    min-width: 100%;
    min-height: auto;
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 99;
  }

  /* Hide logo container on mobile to save space */
  html body .app_side_menu > div:first-child {
    display: none;
  }

  /* Horizontal menu layout */
  html body .sidebar_menu {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 0 var(--space-md);
    gap: var(--space-xs);
  }

  html body .sidebar_menu li {
    margin-bottom: 0;
  }

  html body .sidebar_menu a {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-xs);
    white-space: nowrap;
  }

  /* Hide nested menus on mobile */
  html body .sidebar_menu ul {
    display: none;
  }

  /* Hide pinned items on mobile */
  html body .sidebar_pinned {
    display: none;
  }

  /* Hide sidebar globals on mobile */
  html body .sidebar_globals {
    display: none;
  }

  html body .app_side_main {
    width: 100%;
    max-width: 100%;
  }

  html body .app_container {
    flex-direction: column;
  }
}
/**
 * EventFlow Admin - Modern Header
 *
 *
 * Beautiful, modern top navigation header
 * Uses CSS variables from modern-variables.css
 */

/* ========== HEADER CONTAINER ========== */
html body header {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: white;
  border-bottom: 2px solid var(--gray-100);
  padding: var(--space-md) var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ========== HEADER AUTH MENU ========== */
html body .header_auth_menu {
  color: var(--gray-700);
  display: flex;
  flex-direction: row;
  font-family: var(--font-secondary);
  margin: 0;
  margin-left: auto;
  padding: 0;
  align-items: center;
  gap: var(--space-xs);
}

html body .header_auth_menu li {
  list-style: none;
  margin: 0;
  padding: 0 var(--space-sm);
  display: flex;
  align-items: center;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

/* kept: main.css .header_auth_menu a sets text-decoration:none */
html body .header_auth_menu a {
  text-decoration: none;
  color: var(--primary-600);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: var(--font-weight-medium);
}

html body .header_auth_menu a:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateY(-1px);
}

html body .header_auth_menu a i {
  font-size: var(--font-size-base);
}

/* Logout button special styling */
html body .header_auth_menu a[href*="logout"] {
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger-85) 100%);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  box-shadow: var(--shadow-sm);
  font-weight: var(--font-weight-semibold);
}

html body .header_auth_menu a[href*="logout"]:hover {
  background: linear-gradient(135deg, var(--danger-85) 0%, var(--danger-75) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Profile link */
html body .header_auth_menu a[href*="profile"] {
  background: var(--gray-100);
  color: var(--gray-700);
}

html body .header_auth_menu a[href*="profile"]:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* Vertical bar separator */
html body .auth_vertical_bar {
  color: var(--gray-300);
  margin: 0 var(--space-xs);
  font-weight: var(--font-weight-normal);
}

/* Admin badge */
html body .header_auth_menu li:first-child {
  padding-right: var(--space-md);
}

/* ========== LANGUAGE BAR ========== */
html body .language_bar {
  display: flex;
  flex-direction: row;
  padding: var(--space-sm) var(--space-xl);
  justify-content: flex-end;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  gap: var(--space-sm);
}

html body .language_bar a {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
}

html body .language_bar a:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

html body .language_bar a.active {
  background: var(--primary-500);
  color: white;
  font-weight: var(--font-weight-semibold);
}

/* ========== PAGE SECTION ========== */
html body .page_section {
  background: white;
  min-height: auto;
  padding: 0;
  width: 100%;
}

html body .section_container {
  background: transparent;
  border-radius: 0;
  padding: var(--space-2xl);
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Page titles */
html body .section_container h1 {
  color: var(--gray-900);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--gray-100);
}

html body .section_container h2 {
  color: var(--gray-800);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

html body .section_container h3 {
  color: var(--gray-700);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-xl);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

/* ========== LANGUAGE SELECTOR ========== */
/* Second definition - overrides above for specific context */
html body .language_bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
  padding: 0;
  background: transparent;
  border: none;
}

html body .language_bar .language-link {
  color: var(--gray-600);
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

html body .language_bar .language-link:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}

html body .language_bar .language-link.active {
  color: var(--primary-700);
  font-weight: var(--font-weight-semibold);
}

html body .language_bar .language-separator {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
}

/* ========== APP MAIN CONTAINER ========== */
html body .app_side_main {
  width: 80%;
  max-width: calc(100% - 16rem);
  transition: all 0.3s ease;
}


html body .app_container {
  width: 100%;
  max-width: 100vw;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  html body header {
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
  }

  html body .header_auth_menu {
    margin: auto;
    font-size: 0.90rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  html body .auth_vertical_bar {
    display: none;
  }

  html body .page_section {
    padding: var(--space-md);
  }

  html body .section_container {
    padding: var(--space-lg);
  }

  html body .app_side_main {
    width: 100%;
    max-width: 100%;
  }
}
/**
 * EventFlow Admin - Modern Footer
 *
 *
 * Minimal footer with Yekwa brand colors
 */

/* ========== FOOTER CONTAINER ========== */
html body footer {
  background: linear-gradient(135deg, #44b0ec 0%, #3a9fd9 100%);
  padding: 6px 0;
  margin: 0;
  border-top: 3px solid #8a5cf6;
}

html body .footer_section_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--space-md);
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 var(--space-xl);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* ========== FOOTER SECTIONS ========== */
html body .footer_subsection {
  color: white;
  font-family: var(--font-secondary);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

html body .footer_subsection_3_1 {
  flex: 0 0 auto;
  text-align: left;
}

html body .footer_subsection_3_2 {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

html body .footer_subsection_3_2 span {
  color: rgba(255, 255, 255, 0.5);
}

/* ========== FOOTER LINKS ========== */
html body .footer-link,
html body .footer-link-2 {
  color: #ffffff;
  text-decoration: underline;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
}

html body .footer-link:hover,
html body .footer-link-2:hover {
  color: #8a5cf6;
  text-decoration: none;
}

/* ========== RESPONSIVE FOOTER ========== */
@media (max-width: 768px) {
  html body footer {
    padding: 6px 0;
  }

  html body .footer_section_container {
    padding: 0 var(--space-md);
    gap: var(--space-sm);
  }

  html body .footer_subsection {
    font-size: 10px;
  }

  html body .footer_subsection_3_2 {
    gap: 6px;
  }
}
/**
 * EventFlow Admin - Modern View Pages
 *
 *
 * Enhanced styling for detail/view pages
 * Uses CSS variables from modern-variables.css
 */

/* ========== VIEW LIST CONTAINER ========== */
html body .view_list_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* ========== VIEW LIST ENTRY ========== */
html body .view_list_entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  align-items: start;
}

html body .view_list_entry:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

/* Full width entries for large content */
html body .view_list_entry.full-width,
html body .view_list_entry:has(.view_entry_largevalue),
html body .view_list_entry:has(img),
html body .view_list_entry:has(textarea) {
  grid-column: 1 / -1;
}

/* ========== VIEW ENTRY LABEL ========== */
html body .view_entry_label {
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: var(--space-xs);
  line-height: 1.4;
}

/* ========== VIEW ENTRY VALUE ========== */
html body .view_entry_value {
  color: var(--gray-900);
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html body .view_entry_largevalue {
  font-size: var(--font-size-base);
}

/* Images in view entries */
html body .view_entry_value img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

html body .view_entry_value .img_uploaded_image {
  max-width: 200px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Lists in view entries */
html body .view_entry_value ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

html body .view_entry_value ul li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-100);
}

html body .view_entry_value ul li:last-child {
  border-bottom: none;
}

/* Tables within view entries */
html body .view_entry_value table.app_table {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
}

/* ========== SECTION NOTIFICATION NOTE ========== */
html body .section_notification_note {
  background: linear-gradient(135deg, var(--info-light) 0%, #e0f2fe 100%);
  border-left: 4px solid var(--info);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-sm);
}

html body .section_notification_note p {
  color: var(--info-dark);
  font-family: var(--font-secondary);
  margin: var(--space-sm) 0;
  line-height: 1.6;
}

html body .section_notification_note a {
  color: var(--primary-600);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
}

html body .section_notification_note a:hover {
  color: var(--primary-700);
}

html body .section_notification_error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left-color: var(--danger, #dc2626);
}

html body .section_notification_error p {
  color: var(--danger-dark, #991b1b);
}

html body .section_notification_success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left-color: var(--success, #16a34a);
}

html body .section_notification_success p {
  color: var(--success-dark, #14532d);
}

html body .section_notification_warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left-color: var(--warning, #d97706);
}

html body .section_notification_warning p {
  color: var(--warning-dark, #92400e);
}

/* ========== ACTION BUTTON CONTAINERS ========== */
html body .action_btn_container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

html body .page_actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

/* Event status action container */
html body .acion_btn_eventstatus_container {
  background: var(--gray-50);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
}

html body .acion_btn_eventstatus_container p {
  margin: 0 0 var(--space-md) 0;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  font-family: var(--font-primary);
}

/* ========== IMPORTANT BUTTON (DELETE) ========== */
/* kept: main.css .section_container .important_btn and .important_btn:hover set background-color */
html body .important_btn,
html body input.important_btn {
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger-85) 100%);
  color: white;
  border: none;
  font-weight: var(--font-weight-semibold);
}

html body .important_btn:hover,
html body input.important_btn:hover {
  background: linear-gradient(135deg, var(--danger-85) 0%, var(--danger-75) 100%);
  box-shadow: var(--shadow-lg);
}

/* ========== DISABLED ACTIONS ========== */
html body .action_disabled,
html body input.action_disabled,
html body button.action_disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

html body .action_disabled:hover,
html body input.action_disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ========== RESPONSIVE VIEWS ========== */
@media (max-width: 768px) {
  html body .view_list_entry {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  html body .view_entry_label {
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--gray-200);
  }

  html body .action_btn_container {
    flex-direction: column;
    align-items: stretch;
  }

  html body .action_btn_container .action_btn {
    width: 100%;
    text-align: center;
  }
}
/**
 * EventFlow Admin - Modern Search Forms
 *
 *
 * Styling for search forms
 */

/* ========== SEARCH FORM ========== */
html body .default_search_form {
  margin: var(--space-xl) 0;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

html body .default_search_form input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

/* Search button with icon */
html body .form_list_searchbutton {
  position: relative;
  padding: var(--space-md) var(--space-2xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html body .form_list_searchbutton::before {
  display: inline-block;
  margin: 0;
  line-height: 1;
  vertical-align: middle;
}

/* Hide search forms on DataTables pages */
html body .has-datatable .default_search_form {
  display: none;
}

/* ========== KNP PAGINATION ========== */
/* KNP sliding template renders: div.pagination > span.first/previous/page/current/next/last > a */
html body .knp_pagination_controls {
  margin: var(--space-xl) 0;
  display: flex;
  justify-content: center;
}

html body .knp_pagination_controls .pagination {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 0;
  align-items: center;
}

/* Base style for all pagination elements — matches DataTables paginate_button */
html body .knp_pagination_controls .pagination span a,
html body .knp_pagination_controls .pagination span.current {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  margin: 0 var(--space-xs);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-700);
  text-decoration: none;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

/* Current page — matches paginate_button.current */
html body .knp_pagination_controls .pagination span.current {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
  cursor: default;
}

/* Hover state — matches paginate_button:hover */
html body .knp_pagination_controls .pagination span a:hover {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
}

/**
 * EventFlow Admin - SweetAlert2 Custom Styling
 *
 *
 * Custom styles for SweetAlert2 to match EventFlow design system
 */

/* ========== POPUP CONTAINER ========== */
.swal2-container .modern-swal-popup {
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-xl) !important;
  font-family: var(--font-primary) !important;
  padding: var(--space-xl) !important;
}

/* ========== TITLE ========== */
/* !important kept: required to override SweetAlert2 vendor styles */
.swal2-container .modern-swal-title {
  font-size: var(--font-size-2xl) !important;
  font-weight: var(--font-weight-bold) !important;
  color: var(--gray-900) !important;
  font-family: var(--font-primary) !important;
  margin-bottom: var(--space-md) !important;
}

/* ========== TEXT CONTENT ========== */
/* !important kept: required to override SweetAlert2 vendor styles */
.swal2-container .modern-swal-text {
  font-size: var(--font-size-base) !important;
  color: var(--gray-700) !important;
  font-family: var(--font-secondary) !important;
  line-height: var(--line-height-relaxed) !important;
}

/* ========== BUTTONS ========== */
/* !important kept: required to override SweetAlert2 vendor styles */
.swal2-container .modern-swal-btn {
  border-radius: var(--radius-md) !important;
  padding: var(--space-sm) var(--space-xl) !important;
  font-weight: var(--font-weight-semibold) !important;
  transition: all var(--transition-fast) !important;
  box-shadow: var(--shadow-sm) !important;
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-base) !important;
  border: none !important;
}

.swal2-container .modern-swal-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.swal2-container .modern-swal-btn:active {
  transform: translateY(0) !important;
  box-shadow: var(--shadow-sm) !important;
}

.swal2-container .modern-swal-btn-confirm {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
  color: white !important;
}

.swal2-container .modern-swal-btn-confirm:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
}

.swal2-container .modern-swal-btn-cancel {
  background: var(--gray-200) !important;
  color: var(--gray-700) !important;
}

.swal2-container .modern-swal-btn-cancel:hover {
  background: var(--gray-300) !important;
}

/* ========== ICONS ========== */
/* !important kept: required to override SweetAlert2 vendor icon styles */
.swal2-container .swal2-icon {
  border-width: 3px !important;
}

.swal2-container .swal2-icon.swal2-success {
  border-color: var(--success) !important;
}

.swal2-container .swal2-icon.swal2-success .swal2-success-ring {
  border-color: var(--success-light) !important;
}

.swal2-container .swal2-icon.swal2-error {
  border-color: var(--danger) !important;
}

.swal2-container .swal2-icon.swal2-warning {
  border-color: var(--warning) !important;
  color: var(--warning) !important;
}

.swal2-container .swal2-icon.swal2-info {
  border-color: var(--info) !important;
  color: var(--info) !important;
}

.swal2-container .swal2-icon.swal2-question {
  border-color: var(--primary-500) !important;
  color: var(--primary-500) !important;
}


/* ========== LOADING SPINNER ========== */
.swal2-container .swal2-loader {
  border-color: var(--primary-500) transparent var(--primary-500) transparent !important;
}

/* ========== INPUT FIELDS (if needed in future) ========== */
/* !important kept: required to override SweetAlert2 vendor input styles */
.swal2-container .swal2-input,
.swal2-container .swal2-textarea,
.swal2-container .swal2-select {
  border: 2px solid var(--gray-300) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-sm) var(--space-md) !important;
  font-family: var(--font-secondary) !important;
  transition: all var(--transition-fast) !important;
}

.swal2-container .swal2-input:focus,
.swal2-container .swal2-textarea:focus,
.swal2-container .swal2-select:focus {
  border-color: var(--primary-500) !important;
  box-shadow: 0 0 0 3px var(--primary-100) !important;
  outline: none !important;
}

/* ========== VALIDATION MESSAGE ========== */
.swal2-container .swal2-validation-message {
  background: var(--danger-light) !important;
  color: var(--danger-dark) !important;
  border-radius: var(--radius-md) !important;
  font-family: var(--font-secondary) !important;
}

/* ========== BACKDROP ========== */
.swal2-backdrop-show {
  background: rgba(32, 48, 66, 0.7) !important;
}
