/*
 * Compiled Emergency Styles for Stunning Platform
 * This file contains compiled CSS from Tailwind @apply directives
 * Generated to fix styling issues across the platform
 */

/* ======= COLOR VARIABLES ======= */
:root {
  --primary: 90, 102, 241;
  --primary-rgb: 90, 102, 241;
  --secondary: 35, 183, 229;
  --warning: 245, 184, 73;
  --info: 73, 182, 245;
  --success: 38, 191, 148;
  --danger: 230, 83, 60;
  --light: 248, 249, 250;
  --dark: 33, 37, 41;
  --purple: 139, 69, 255;
  --orange: 255, 165, 0;
  --teal: 18, 194, 194;
}

/* ======= BUTTON STYLES ======= */
.ti-btn {
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 0.125rem;
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.875rem;
  margin-left: 0;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.5;
}

.ti-btn:focus {
  outline: none;
  box-shadow: none;
}

.ti-btn.ti-btn-outline {
  border: 1px solid;
}

.ti-btn.ti-btn-disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.ti-btn.ti-btn-sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
}

.ti-btn.ti-btn-lg {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  border-radius: 0.375rem;
}

/* Button Width Variants */
.ti-btn.ti-btn-w-xs {
  min-width: 5.625rem;
}

.ti-btn.ti-btn-w-sm {
  min-width: 6.975rem;
}

.ti-btn.ti-btn-w-md {
  min-width: 8.125rem;
}

.ti-btn.ti-btn-w-lg {
  min-width: 9.375rem;
}

/* Primary Button */
.ti-btn-primary {
  background-color: rgba(90, 102, 241, 0.1);
  color: rgb(90, 102, 241);
  border-color: transparent;
}

.ti-btn-primary:hover,
.ti-btn-primary:focus {
  background-color: rgb(90, 102, 241);
  color: white;
}

.ti-btn-primary.active {
  background-color: rgb(90, 102, 241);
  color: white;
}

/* Primary Full Button */
.ti-btn-primary-full {
  background: linear-gradient(to right, #fa5560, #b14bf4, #4d91ff);
  color: white;
  border: none;
}

/* Secondary Button */
.ti-btn-secondary {
  background-color: rgba(35, 183, 229, 0.1);
  color: rgb(35, 183, 229);
  border-color: transparent;
}

.ti-btn-secondary:hover,
.ti-btn-secondary:focus {
  background-color: rgb(35, 183, 229);
  color: white;
}

.ti-btn-secondary-full {
  background-color: rgb(35, 183, 229);
  color: white;
}

/* Success Button */
.ti-btn-success {
  background-color: rgba(38, 191, 148, 0.1);
  color: rgb(38, 191, 148);
  border-color: transparent;
}

.ti-btn-success:hover,
.ti-btn-success:focus {
  background-color: rgb(38, 191, 148);
  color: white;
}

.ti-btn-success-full {
  background-color: rgb(38, 191, 148);
  color: white;
}

/* Danger Button */
.ti-btn-danger {
  background-color: rgba(230, 83, 60, 0.1);
  color: rgb(230, 83, 60);
  border-color: transparent;
}

.ti-btn-danger:hover,
.ti-btn-danger:focus {
  background-color: rgb(230, 83, 60);
  color: white;
}

.ti-btn-danger-full {
  background-color: rgb(230, 83, 60);
  color: white;
}

/* Warning Button */
.ti-btn-warning {
  background-color: rgba(245, 184, 73, 0.1);
  color: rgb(245, 184, 73);
  border-color: transparent;
}

.ti-btn-warning:hover,
.ti-btn-warning:focus {
  background-color: rgb(245, 184, 73);
  color: white;
}

.ti-btn-warning-full {
  background-color: rgb(245, 184, 73);
  color: white;
}

/* Info Button */
.ti-btn-info {
  background-color: rgba(73, 182, 245, 0.1);
  color: rgb(73, 182, 245);
  border-color: transparent;
}

.ti-btn-info:hover,
.ti-btn-info:focus {
  background-color: rgb(73, 182, 245);
  color: white;
}

.ti-btn-info-full {
  background-color: rgb(73, 182, 245);
  color: white;
}

/* Purple Button */
.ti-btn-purple {
  background-color: rgba(139, 69, 255, 0.1);
  color: rgb(139, 69, 255);
  border-color: transparent;
}

.ti-btn-purple:hover,
.ti-btn-purple:focus {
  background-color: rgb(139, 69, 255);
  color: white;
}

.ti-btn-purple-full {
  background-color: rgb(139, 69, 255);
  color: white;
}

/* Orange Button */
.ti-btn-orange {
  background-color: rgba(255, 165, 0, 0.1);
  color: rgb(255, 165, 0);
  border-color: transparent;
}

.ti-btn-orange:hover,
.ti-btn-orange:focus {
  background-color: rgb(255, 165, 0);
  color: white;
}

.ti-btn-orange-full {
  background-color: rgb(255, 165, 0);
  color: white;
}

/* Teal Button */
.ti-btn-teal {
  background-color: rgba(18, 194, 194, 0.1);
  color: rgb(18, 194, 194);
  border-color: transparent;
}

.ti-btn-teal:hover,
.ti-btn-teal:focus {
  background-color: rgb(18, 194, 194);
  color: white;
}

.ti-btn-teal-full {
  background-color: rgb(18, 194, 194);
  color: white;
}

/* Light Button */
.ti-btn-light {
  background-color: rgb(248, 249, 250);
  color: rgb(33, 37, 41);
  border-color: transparent;
}

.ti-btn-light:hover,
.ti-btn-light:focus {
  background-color: rgb(248, 249, 250);
  color: rgb(33, 37, 41);
}

/* Dark Button */
.ti-btn-dark {
  background-color: rgb(33, 37, 41);
  color: white;
  border-color: transparent;
}

.ti-btn-dark:hover,
.ti-btn-dark:focus {
  background-color: rgb(33, 37, 41);
  color: white;
}

/* Outline Button Variants */
.ti-btn-outline-primary {
  border-color: rgb(90, 102, 241);
  color: rgb(90, 102, 241);
  background-color: transparent;
}

.ti-btn-outline-primary:hover,
.ti-btn-outline-primary:focus {
  background-color: rgb(90, 102, 241);
  border-color: rgb(90, 102, 241);
  color: white;
}

.ti-btn-outline-secondary {
  border-color: rgb(35, 183, 229);
  color: rgb(35, 183, 229);
  background-color: transparent;
}

.ti-btn-outline-secondary:hover,
.ti-btn-outline-secondary:focus {
  background-color: rgb(35, 183, 229);
  border-color: rgb(35, 183, 229);
  color: white;
}

.ti-btn-outline-success {
  border-color: rgb(38, 191, 148);
  color: rgb(38, 191, 148);
  background-color: transparent;
}

.ti-btn-outline-success:hover,
.ti-btn-outline-success:focus {
  background-color: rgb(38, 191, 148);
  border-color: rgb(38, 191, 148);
  color: white;
}

.ti-btn-outline-danger {
  border-color: rgb(230, 83, 60);
  color: rgb(230, 83, 60);
  background-color: transparent;
}

.ti-btn-outline-danger:hover,
.ti-btn-outline-danger:focus {
  background-color: rgb(230, 83, 60);
  border-color: rgb(230, 83, 60);
  color: white;
}

.ti-btn-outline-warning {
  border-color: rgb(245, 184, 73);
  color: rgb(245, 184, 73);
  background-color: transparent;
}

.ti-btn-outline-warning:hover,
.ti-btn-outline-warning:focus {
  background-color: rgb(245, 184, 73);
  border-color: rgb(245, 184, 73);
  color: white;
}

.ti-btn-outline-info {
  border-color: rgb(73, 182, 245);
  color: rgb(73, 182, 245);
  background-color: transparent;
}

.ti-btn-outline-info:hover,
.ti-btn-outline-info:focus {
  background-color: rgb(73, 182, 245);
  border-color: rgb(73, 182, 245);
  color: white;
}

/* Ghost Button Variants */
.ti-btn-ghost-primary {
  color: rgb(90, 102, 241);
  background-color: transparent;
  border-color: transparent;
}

.ti-btn-ghost-primary:hover {
  background-color: rgba(90, 102, 241, 0.1);
}

.ti-btn-ghost-secondary {
  color: rgb(35, 183, 229);
  background-color: transparent;
  border-color: transparent;
}

.ti-btn-ghost-secondary:hover {
  background-color: rgba(35, 183, 229, 0.1);
}

.ti-btn-ghost-success {
  color: rgb(38, 191, 148);
  background-color: transparent;
  border-color: transparent;
}

.ti-btn-ghost-success:hover {
  background-color: rgba(38, 191, 148, 0.1);
}

.ti-btn-ghost-danger {
  color: rgb(230, 83, 60);
  background-color: transparent;
  border-color: transparent;
}

.ti-btn-ghost-danger:hover {
  background-color: rgba(230, 83, 60, 0.1);
}

.ti-btn-ghost-warning {
  color: rgb(245, 184, 73);
  background-color: transparent;
  border-color: transparent;
}

.ti-btn-ghost-warning:hover {
  background-color: rgba(245, 184, 73, 0.1);
}

.ti-btn-ghost-info {
  color: rgb(73, 182, 245);
  background-color: transparent;
  border-color: transparent;
}

.ti-btn-ghost-info:hover {
  background-color: rgba(73, 182, 245, 0.1);
}

/* Button Groups */
.ti-btn-group {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-left: -1px;
  font-weight: 500;
  vertical-align: middle;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.ti-btn-group:first-child {
  margin-left: 0;
  border-top-left-radius: 0.125rem;
  border-bottom-left-radius: 0.125rem;
}

.ti-btn-group:last-child {
  border-top-right-radius: 0.125rem;
  border-bottom-right-radius: 0.125rem;
}

.ti-btn-group .ti-btn {
  padding: 0.45rem 0.75rem;
}

.ti-btn-group-lg .ti-btn {
  padding: 0.65rem 1rem;
}

.ti-btn-group-sm .ti-btn {
  padding: 0.25rem 0.5rem;
}

/* ======= FORM STYLES ======= */
.ti-form-input {
  border: 1px solid #f3f4f6;
  display: block;
  width: 100%;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  background-color: white;
  padding: 0.625rem 1rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ti-form-input:hover {
  border-color: #e5e7eb;
}

.ti-form-input:focus {
  border-color: rgb(90, 102, 241);
  outline: none;
  --tw-ring-color: rgba(90, 102, 241, 0.05);
  box-shadow: 0 0 0 1px rgba(90, 102, 241, 0.05);
}

.ti-form-control {
  border: 1px solid #f3f4f6;
  color: #111827;
  background-color: white;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.ti-form-control:hover {
  border-color: #e5e7eb;
}

.ti-form-control:focus {
  box-shadow: none;
  border-color: rgb(90, 102, 241);
  background-color: white;
  color: #111827;
  outline: none;
}

.ti-form-control::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.ti-form-select {
  padding: 0.75rem 1rem;
  padding-right: 2.25rem;
  display: block;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  font-size: 0.875rem;
  background-color: white;
}

.ti-form-select:focus {
  border-color: rgb(90, 102, 241);
  box-shadow: 0 0 0 1px rgb(90, 102, 241);
  outline: none;
}

.ti-form-label,
.ti-form-select-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #111827;
}

/* Form Controls */
.form-control {
  border: 1px solid #e5e7eb;
  color: #111827;
  background-color: white;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  border-radius: 0.35rem;
  padding: 0.5rem 0.85rem;
  width: 100%;
  transition: all 0.2s;
}

.form-control:focus {
  box-shadow: none;
  border-color: #e5e7eb;
  color: #111827;
  outline: none;
}

.form-control::placeholder {
  color: #111827;
  opacity: 0.4;
  font-weight: 500;
  font-size: 0.8rem;
}

.form-control:disabled,
.form-select:disabled {
  background-color: rgb(248, 249, 250);
  color: #111827;
}

/* Form Check Inputs */
.form-check-input {
  height: 0.9rem;
  width: 0.9rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  appearance: none;
  vertical-align: top;
}

.form-check-input:focus {
  border: 1px solid #e5e7eb;
  outline: none;
}

.form-check-input:checked {
  background-color: rgb(90, 102, 241);
  border-color: rgb(90, 102, 241);
}

.form-check-input[type="radio"] {
  border-radius: 50%;
}

/* Switch Component */
.ti-switch {
  position: relative;
  width: 3.25rem;
  height: 1.75rem;
  background-color: #e5e7eb;
  border: 2px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
}

.ti-switch:checked {
  background-color: rgb(90, 102, 241);
}

.ti-switch:focus {
  border-color: rgb(90, 102, 241);
  outline: none;
}

.ti-switch::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transform: translateX(0);
  transition: all 0.2s;
}

.ti-switch:checked::before {
  background-color: white;
  transform: translateX(100%);
}

/* Input Groups */
.input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control,
.input-group > .form-floating,
.input-group > .form-select {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111827;
  text-align: center;
  white-space: nowrap;
  background-color: rgb(248, 249, 250);
  border: 1px solid #e5e7eb;
  border-radius: 0.3125rem;
}

/* ======= DROPDOWN STYLES ======= */
.ti-dropdown {
  position: relative;
  display: inline-flex;
}

.ti-dropdown-toggle {
  padding: 0.75rem 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  border: 1px solid #e5e7eb;
  font-weight: 500;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  vertical-align: middle;
  background-color: white;
  color: #111827;
  cursor: pointer;
  text-decoration: none;
}

.ti-dropdown-toggle:hover {
  background-color: #f9fafb;
}

.ti-dropdown-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 102, 241, 0.2);
}

.ti-dropdown-menu {
  transition: opacity 0.2s, margin 0.2s;
  opacity: 0;
  z-index: 50;
  margin-top: 0.5rem;
  min-width: 10rem;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  display: none;
}

.ti-dropdown-menu.show {
  opacity: 1;
  display: block;
}

.ti-dropdown-item {
  padding: 0.5rem 0.9375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  display: block;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.2s;
}

.ti-dropdown-item:hover,
.ti-dropdown-item:focus {
  background-color: rgba(90, 102, 241, 0.05);
  color: rgb(90, 102, 241);
}

.ti-dropdown-item.active {
  background-color: rgb(90, 102, 241);
  color: white;
}

.ti-dropdown-item.disabled {
  color: #9ca3af;
  background-color: transparent;
  pointer-events: none;
}

.ti-dropdown-divider {
  padding: 0.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.ti-dropdown-header {
  padding: 0.75rem 1.25rem;
  margin: -0.5rem;
  background-color: #f3f4f6;
  border-top-left-radius: 0.125rem;
  border-top-right-radius: 0.125rem;
}

.ti-dropdown-header-title {
  font-size: 0.875rem;
  color: #6b7280;
}

.ti-dropdown-header-content {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

/* ======= CARD/BOX STYLES ======= */
.box {
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  color: #111827;
  background-color: white;
  font-size: 0.813rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.box-header {
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-top-left-radius: 0.125rem;
  border-top-right-radius: 0.125rem;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}

.box-title {
  position: relative;
  font-weight: 700;
  color: #111827;
  font-size: 0.9375rem;
  margin-right: auto;
}

.box-title::before {
  content: '';
  position: absolute;
  height: 1rem;
  width: 0.2rem;
  top: 0.15rem;
  left: -0.65rem;
  background: linear-gradient(to bottom, rgba(90, 102, 241, 0.5), rgba(35, 183, 229, 0.5));
  border-radius: 0.375rem;
}

.box-body {
  padding: 1.25rem;
  color: #111827;
}

.box-footer {
  border-top: 1px solid #e5e7eb;
  border-bottom-left-radius: 0.125rem;
  border-bottom-right-radius: 0.125rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #111827;
}

.box.box-fullscreen {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  margin: 0;
  border-radius: 0;
}

/* Box Background Variants */
.box.box-bg-primary {
  background-color: rgb(90, 102, 241);
  color: white;
}

.box.box-bg-success {
  background-color: rgb(38, 191, 148);
  color: white;
}

/* ======= ALERT STYLES ======= */
.alert {
  padding: 0.625rem 0.85rem;
  border: 1px solid;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.alert:last-child {
  margin-bottom: 0;
}

.alert .btn-close {
  background: none;
  padding: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.alert .alert-link {
  font-weight: 600;
}

/* Alert Variants */
.alert-primary {
  background-color: rgba(90, 102, 241, 0.1);
  color: rgb(90, 102, 241);
  border-color: rgba(90, 102, 241, 0.1);
}

.alert-primary .alert-link {
  color: rgb(90, 102, 241);
}

.alert-primary .btn-close {
  color: rgb(90, 102, 241);
}

.alert-secondary {
  background-color: rgba(35, 183, 229, 0.1);
  color: rgb(35, 183, 229);
  border-color: rgba(35, 183, 229, 0.1);
}

.alert-secondary .alert-link {
  color: rgb(35, 183, 229);
}

.alert-secondary .btn-close {
  color: rgb(35, 183, 229);
}

.alert-success {
  background-color: rgba(38, 191, 148, 0.1);
  color: rgb(38, 191, 148);
  border-color: rgba(38, 191, 148, 0.1);
}

.alert-success .alert-link {
  color: rgb(38, 191, 148);
}

.alert-success .btn-close {
  color: rgb(38, 191, 148);
}

.alert-danger {
  background-color: rgba(230, 83, 60, 0.1);
  color: rgb(230, 83, 60);
  border-color: rgba(230, 83, 60, 0.1);
}

.alert-danger .alert-link {
  color: rgb(230, 83, 60);
}

.alert-danger .btn-close {
  color: rgb(230, 83, 60);
}

.alert-warning {
  background-color: rgba(245, 184, 73, 0.1);
  color: rgb(245, 184, 73);
  border-color: rgba(245, 184, 73, 0.1);
}

.alert-warning .alert-link {
  color: rgb(245, 184, 73);
}

.alert-warning .btn-close {
  color: rgb(245, 184, 73);
}

.alert-info {
  background-color: rgba(73, 182, 245, 0.1);
  color: rgb(73, 182, 245);
  border-color: rgba(73, 182, 245, 0.1);
}

.alert-info .alert-link {
  color: rgb(73, 182, 245);
}

.alert-info .btn-close {
  color: rgb(73, 182, 245);
}

.alert-light {
  background-color: rgb(248, 249, 250);
  color: #111827;
  border-color: rgb(248, 249, 250);
}

.alert-dark {
  background-color: rgba(33, 37, 41, 0.1);
  color: rgb(33, 37, 41);
  border-color: rgba(33, 37, 41, 0.1);
}

/* Solid Alert Variants */
.alert-solid-primary {
  background-color: rgb(90, 102, 241);
  color: white;
  border-color: rgb(90, 102, 241);
}

.alert-solid-secondary {
  background-color: rgb(35, 183, 229);
  color: white;
  border-color: rgb(35, 183, 229);
}

.alert-solid-success {
  background-color: rgb(38, 191, 148);
  color: white;
  border-color: rgb(38, 191, 148);
}

.alert-solid-danger {
  background-color: rgb(230, 83, 60);
  color: white;
  border-color: rgb(230, 83, 60);
}

.alert-solid-warning {
  background-color: rgb(245, 184, 73);
  color: white;
  border-color: rgb(245, 184, 73);
}

.alert-solid-info {
  background-color: rgb(73, 182, 245);
  color: white;
  border-color: rgb(73, 182, 245);
}

/* Outline Alert Variants */
.alert-outline-primary {
  color: rgb(90, 102, 241);
  border-color: rgb(90, 102, 241);
  background-color: transparent;
}

.alert-outline-secondary {
  color: rgb(35, 183, 229);
  border-color: rgb(35, 183, 229);
  background-color: transparent;
}

.alert-outline-success {
  color: rgb(38, 191, 148);
  border-color: rgb(38, 191, 148);
  background-color: transparent;
}

.alert-outline-danger {
  color: rgb(230, 83, 60);
  border-color: rgb(230, 83, 60);
  background-color: transparent;
}

.alert-outline-warning {
  color: rgb(245, 184, 73);
  border-color: rgb(245, 184, 73);
  background-color: transparent;
}

.alert-outline-info {
  color: rgb(73, 182, 245);
  border-color: rgb(73, 182, 245);
  background-color: transparent;
}

/* ======= TABLE STYLES ======= */
.table {
  color: #111827;
  border-radius: 0.375rem;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: middle;
  line-height: 1.462;
  font-size: 0.813rem;
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.table thead tr th {
  font-weight: 600;
  font-size: 0.85rem;
  background-color: #f9fafb;
}

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

.table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.0125);
}

.table.table-bordered {
  border: 1px solid #e5e7eb;
}

.table.table-bordered th,
.table.table-bordered td {
  border: 1px solid #e5e7eb;
}

/* Custom Table Classes */
.ti-custom-table {
  min-width: 100%;
}

.ti-custom-table th {
  padding: 0.5rem 1.5rem;
  text-align: left;
  line-height: 1.462;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  background-color: #f9fafb;
  color: #111827;
}

.ti-custom-table tbody {
  background-color: white;
}

.ti-custom-table td {
  padding: 1rem 1.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  color: #1f2937;
  font-weight: 500;
}

.ti-custom-table-head {
  background-color: #f9fafb;
}

.ti-striped-table tbody tr:nth-child(odd) {
  background-color: white;
}

.ti-striped-table tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

.ti-custom-table-hover tbody tr:hover {
  background-color: #f3f4f6;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
}

/* Table Color Variants */
.table-primary {
  background-color: rgba(90, 102, 241, 0.1);
}

.table-primary th {
  color: #111827;
}

.table-primary td {
  color: #1f2937;
}

.table-secondary {
  background-color: rgba(35, 183, 229, 0.1);
}

.table-success {
  background-color: rgba(38, 191, 148, 0.1);
}

.table-danger {
  background-color: rgba(230, 83, 60, 0.1);
}

.table-warning {
  background-color: rgba(245, 184, 73, 0.1);
}

.table-info {
  background-color: rgba(73, 182, 245, 0.1);
}

/* ======= MODAL STYLES ======= */
.ti-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  overflow-x: hidden;
  overflow-y: auto;
}

.ti-modal-box {
  opacity: 0;
  transition: all 0.5s;
  max-width: 32rem;
  width: 100%;
  margin: 0.75rem;
  margin-left: auto;
  margin-right: auto;
}

.ti-modal-box.show {
  opacity: 1;
}

.ti-modal-content {
  display: flex;
  flex-direction: column;
  background-color: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 0.125rem;
}

.ti-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.ti-modal-title {
  font-weight: 700;
  color: #1f2937;
}

.ti-modal-close-btn {
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  height: 2rem;
  width: 2rem;
  border-radius: 0.375rem;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ti-modal-close-btn:hover {
  color: #374151;
}

.ti-modal-close-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 102, 241, 0.2);
}

.ti-modal-body {
  padding: 1rem;
}

.ti-modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
}

/* ======= PAGINATION STYLES ======= */
.ti-pagination {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  list-style: none;
  margin: 0;
}

.ti-pagination li {
  margin: 0;
}

.ti-pagination .page-link {
  border: 1px solid #e5e7eb;
  color: #111827;
  font-size: 1rem;
  background-color: white;
  padding: 0.375rem 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.ti-pagination .page-link:hover {
  color: rgb(90, 102, 241);
  background-color: #f9fafb;
  border-color: #e5e7eb;
}

.ti-pagination .page-link:focus {
  box-shadow: none;
  background-color: #f9fafb;
  outline: none;
}

.ti-pagination .page-link.active {
  background-color: rgb(90, 102, 241);
  color: white;
  border-color: rgb(90, 102, 241);
}

.ti-pagination .page-link.disabled {
  pointer-events: none;
  color: #6b7280;
  background-color: #f9fafb;
}

.ti-pagination li:first-child .page-link {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.ti-pagination li:last-child .page-link {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Pagination Size Variants */
.ti-pagination.pagination-sm .page-link {
  padding: 0.5rem 0.5rem;
  font-size: 0.75rem;
}

.ti-pagination.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

/* ======= UTILITY CLASSES ======= */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75em;
  padding: 0.25rem 0.45rem;
  font-weight: 600;
  border-radius: 0.25rem;
}

.badge:last-child {
  margin-bottom: 0;
}

/* List Groups */
.ti-list-group {
  align-items: center;
  font-weight: 400;
  font-size: 0.8125rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  text-align: left;
}

.ti-list-group-item {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.ti-list-group-item:last-child {
  border-bottom: 0;
}

.ti-list-group-item.active {
  color: white;
  background-color: rgb(90, 102, 241);
  border-color: rgb(90, 102, 241);
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.ti-list-group-item.disabled {
  color: #9ca3af;
  background-color: rgb(248, 249, 250);
  opacity: 0.5;
}

.ti-list-group-item.ti-list-group-item-action {
  width: 100%;
  cursor: pointer;
}

.ti-list-group-item.ti-list-group-item-action:hover,
.ti-list-group-item.ti-list-group-item-action:focus {
  background-color: rgb(248, 249, 250);
}

/* Progress Bars */
.ti-main-progress {
  display: flex;
  width: 100%;
  height: 0.375rem;
  border-radius: 9999px;
  overflow: hidden;
  background-color: #e5e7eb;
}

.ti-main-progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: rgb(90, 102, 241);
  transition: width 0.3s;
}

/* Spinners */
.ti-spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
}

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

/* Toast */
.ti-toast {
  max-width: 20rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.125rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: white;
}

/* Navigation Tabs */
.nav-tabs {
  border-bottom: 1px solid #e5e7eb;
}

.nav-tabs .nav-link {
  color: #6b7280;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -1px;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  color: rgb(90, 102, 241);
  border-color: #e5e7eb;
}

.nav-tabs .nav-link.active {
  color: #111827;
  background-color: rgb(248, 249, 250);
  border-color: #e5e7eb;
}

/* Background Gradients */
.bg-primary-gradient {
  background: linear-gradient(to right, rgb(90, 102, 241), #0086ed);
  color: white;
}

.bg-secondary-gradient {
  background: linear-gradient(to right, rgb(35, 183, 229), #0086ed);
  color: white;
}

.bg-success-gradient {
  background: linear-gradient(to right, rgb(38, 191, 148), #0086ed);
  color: white;
}

.bg-danger-gradient {
  background: linear-gradient(to right, rgb(230, 83, 60), #0086ed);
  color: white;
}

.bg-warning-gradient {
  background: linear-gradient(to right, rgb(245, 184, 73), #0086ed);
  color: white;
}

.bg-info-gradient {
  background: linear-gradient(to right, rgb(73, 182, 245), #0086ed);
  color: white;
}

/* ======= RESPONSIVE UTILITIES ======= */
.container,
.container-fluid {
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1320px;
}

@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ======= MISC UTILITIES ======= */
.text-primary {
  color: rgb(90, 102, 241) !important;
}

.text-secondary {
  color: rgb(35, 183, 229) !important;
}

.text-success {
  color: rgb(38, 191, 148) !important;
}

.text-danger {
  color: rgb(230, 83, 60) !important;
}

.text-warning {
  color: rgb(245, 184, 73) !important;
}

.text-info {
  color: rgb(73, 182, 245) !important;
}

.bg-primary {
  background-color: rgb(90, 102, 241) !important;
}

.bg-secondary {
  background-color: rgb(35, 183, 229) !important;
}

.bg-success {
  background-color: rgb(38, 191, 148) !important;
}

.bg-danger {
  background-color: rgb(230, 83, 60) !important;
}

.bg-warning {
  background-color: rgb(245, 184, 73) !important;
}

.bg-info {
  background-color: rgb(73, 182, 245) !important;
}

.border-primary {
  border-color: rgb(90, 102, 241) !important;
}

.border-secondary {
  border-color: rgb(35, 183, 229) !important;
}

.border-success {
  border-color: rgb(38, 191, 148) !important;
}

.border-danger {
  border-color: rgb(230, 83, 60) !important;
}

.border-warning {
  border-color: rgb(245, 184, 73) !important;
}

.border-info {
  border-color: rgb(73, 182, 245) !important;
}

/* Dark mode support placeholders */
@media (prefers-color-scheme: dark) {
  .dark\:bg-bodybg {
    background-color: #1f2937;
  }
  
  .dark\:text-white {
    color: #ffffff;
  }
  
  .dark\:border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* Aspect ratio utilities */
.aspect-w-16 {
  position: relative;
  padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
  --tw-aspect-w: 16;
}

.aspect-w-16 > * {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.aspect-h-9 {
  --tw-aspect-h: 9;
}

.aspect-w-1 {
  position: relative;
  padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
  --tw-aspect-w: 1;
}

.aspect-w-1 > * {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.aspect-h-1 {
  --tw-aspect-h: 1;
}

/* Additional utility classes that might be missing */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.text-center {
  text-align: center !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.rounded {
  border-radius: 0.375rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

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

/* End of Compiled Emergency Styles */