:root { 
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; 
  --sidebar-width: 210px;
  --sidebar-collapsed-width: 60px;
  --sidebar-bg: #1e3a8a;
  --sidebar-text: #ffffff;
  --sidebar-text-muted: #bfdbfe;
  --nav-hover: rgba(255, 255, 255, 0.1);
  --nav-active: rgba(255, 255, 255, 0.2);
  --main-bg: #f8fafc;
  --border-color: #e2e8f0;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --blue-primary: #2563eb;
  --blue-secondary: #3b82f6;
}

body { 
  margin: 0;
  padding: 0;
  display: flex;
  min-height: 100vh;
  background: var(--main-bg);
  color: var(--text-primary);
  overflow-x: hidden; /* Prevent horizontal scrolling on body */
}

* {
  box-sizing: border-box;
}

/* Sidebar Styles */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
  overflow-y: auto;
  z-index: 1000;
  transition: width 0.3s ease;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
  overflow-x: hidden; /* Ensure no horizontal scroll when collapsed */
}

.sidebar-header {
  padding: 0.875rem 1rem 0.875rem 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  box-sizing: border-box;
  gap: 0.75rem; /* Controlled space between logo and button */
}

.logo { 
  display: flex; 
  align-items: center; 
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  gap: 0.5rem; /* Reduce gap to prevent overlap */
  margin-right: 0.75rem; /* More margin when expanded */
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-text {
  flex: 1;
  min-width: 0;
  max-width: 120px; /* Prevent text from taking too much space */
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sidebar-text);
  letter-spacing: 0.2px;
  text-transform: lowercase;
  white-space: nowrap;
  transition: all 0.3s ease;
  opacity: 0.95;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-icon:hover {
  transform: scale(1.02);
}

.logo-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

/* Alternative: If your logo is already designed for dark backgrounds, use this instead: */
.logo-image.no-filter {
  filter: none;
}

/* Sidebar Collapse Button */
.sidebar-collapse-btn {
  background: none;
  border: none;
  color: var(--sidebar-text);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  opacity: 0.8;
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto; /* Push to the right when expanded */
}

/* Hide mobile elements on desktop */
.mobile-sidebar-toggle {
  display: none;
}


.sidebar-collapse-btn:hover {
  background: var(--nav-hover);
  opacity: 1;
  transform: scale(1.1);
}

.sidebar-collapse-btn i {
  transition: transform 0.2s ease;
}

.sidebar-collapse-btn:hover i {
  transform: translateX(-1px); /* Subtle arrow movement on hover */
}

.sidebar.collapsed .sidebar-collapse-btn:hover i {
  transform: translateX(1px); /* Right movement when collapsed */
}

.sidebar-nav { flex: 1; padding: .5rem 0; }

.nav-list { list-style: none; margin: 0; padding: 0; }

.nav-item { margin: 0; }

.nav-link {
  display: flex; 
  align-items: center; 
  gap: .6rem;
  padding: .6rem 1rem; 
  color: var(--sidebar-text); 
  text-decoration: none;
  font-size: .95rem; 
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
}

.nav-link:hover { background: var(--nav-hover); }

.nav-item.active .nav-link { background: var(--nav-active); border-left-color: #60a5fa; }

.nav-icon { 
  opacity: .9; 
  width: 20px;
  text-align: center;
  font-size: .875rem;
}

.nav-icon i {
  display: inline-block;
}

.nav-text { 
  opacity: 1; 
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

/* Collapsed sidebar styles */
.sidebar.collapsed .sidebar-header {
  padding: 0.75rem 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  min-height: 80px;
}

.sidebar.collapsed .logo {
  justify-content: center;
  flex: none;
  gap: 0;
  margin-right: 0; /* Remove margin when collapsed */
}

.sidebar.collapsed .logo-text {
  display: none;
}

.sidebar.collapsed .logo-icon:hover .logo-image {
  transform: scale(1.1);
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255,255,255,0.3));
}

.sidebar.collapsed .sidebar-collapse-btn {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-left: 0; /* Remove margin when collapsed */
}

.sidebar.collapsed .nav-text {
  opacity: 0;
  transform: translateX(-10px);
  position: absolute;
  pointer-events: none;
  white-space: nowrap;
}

.sidebar.collapsed .nav-link {
  justify-content: center;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}

.sidebar.collapsed .nav-icon {
  margin: 0;
  flex-shrink: 0;
}

/* Tooltip styles for collapsed sidebar */
.sidebar.collapsed .nav-link {
  position: relative;
}

.sidebar.collapsed .nav-link:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  background: #1f2937;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  white-space: nowrap;
  z-index: 1002;
  opacity: 0;
  animation: tooltipFadeIn 0.2s ease-out forwards;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed .nav-link:hover::before {
  content: '';
  position: absolute;
  left: calc(100% + 0.25rem);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 4px 4px 0;
  border-color: transparent #1f2937 transparent transparent;
  z-index: 1002;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}

.main-content.sidebar-collapsed {
  margin-left: var(--sidebar-collapsed-width);
}

/* App Header */
.app-header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}

.header-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.brand-title { font-weight: 600; color: var(--text-primary); }
.user-badge { 
  display: flex; 
  align-items: center; 
  gap: .5rem; 
  color: var(--text-secondary);
  background: #f3f4f6;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .875rem;
}
.user-avatar { 
  width: 32px; 
  height: 32px; 
  border-radius: 50%; 
  background: var(--blue-primary); 
  color: white; 
  display: flex;
  align-items: center;
  justify-content: center; 
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.user-avatar:hover {
  background: var(--blue-secondary);
  transform: scale(1.05);
}

/* Content Area */
.content-area {
  flex: 1;
  padding: 1.5rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

/* Controls Bar */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  display: inline-block;
}

.search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: .875rem;
  pointer-events: none;
}

.search-input {
  padding: .5rem .75rem .5rem 2.25rem;
  border: 1px solid var(--border-color);
  border-radius: .375rem;
  font-size: .875rem;
  min-width: 220px;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.dropdown-select {
  padding: .5rem .75rem;
  border: 1px solid var(--border-color);
  border-radius: .375rem;
  font-size: .875rem;
  background: white;
  cursor: pointer;
  min-width: 140px;
  transition: all 0.2s ease;
}

.dropdown-select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
  background: var(--blue-primary);
  color: white;
  border: none;
  padding: .4rem .8rem;
  border-radius: .25rem;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 32px;
}

.btn-primary:hover {
  background: var(--blue-secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.data-table thead {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.data-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-color);
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.data-table th:first-child {
  border-top-left-radius: .75rem;
}

.data-table th:last-child {
  border-top-right-radius: .75rem;
}

.data-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-primary);
  font-size: .85rem;
  transition: all 0.2s ease;
  vertical-align: middle;
  min-height: 60px; /* Ensure consistent row height */
  height: auto; /* Allow natural height expansion */
}

.data-table tbody tr {
  transition: all 0.2s ease;
  min-height: 60px;
  height: auto;
}

.data-table tbody tr:hover {
  background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: .75rem;
}

.data-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: .75rem;
}

.data-table .condition-name {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-primary);
  margin-bottom: .25rem;
  line-height: 1.2;
}

.data-table .condition-desc {
  color: var(--text-secondary);
  font-size: .75rem;
  line-height: 1.3;
  font-style: italic;
}

.data-table .airline-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: .8rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #e1f5fe 100%);
  padding: .25rem .5rem;
  border-radius: .375rem;
  border: 1px solid #b3e5fc;
  display: inline-block;
}

.data-table .trigger-info {
  color: var(--text-secondary);
  font-weight: 500;
  background: #f1f5f9;
  padding: .25rem .5rem;
  border-radius: .375rem;
  font-family: monospace;
  font-size: .75rem;
  border: 1px solid #e2e8f0;
  display: inline-block;
  text-align: center;
  min-width: 80px;
  line-height: 1.2;
}

.data-table .fee-amount {
  font-weight: 700;
  font-size: .8rem;
  color: #059669;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  padding: .25rem .5rem;
  border-radius: .375rem;
  border: 1px solid #bbf7d0;
  display: inline-block;
  text-align: center;
  min-width: 70px;
  line-height: 1.2;
}

.data-table .fee-amount[data-type="discount"] {
  color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fef2f2 100%);
  border-color: #fecaca;
}

.data-table td.actions {
  display: table-cell !important;
  text-align: center !important;
  vertical-align: middle !important;
  min-width: 90px !important;
  width: 90px !important;
  padding: .75rem .5rem !important;
  box-sizing: border-box;
}

.data-table td.actions .btn-icon {
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  vertical-align: middle;
}

/* Actions column uses table-cell display for proper alignment */

.btn-icon {
  padding: .375rem;
  border: 1px solid transparent;
  background: #f8fafc;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: .375rem;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-edit { 
  color: var(--blue-primary);
  border-color: #dbeafe;
}

.btn-edit:hover {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #3b82f6;
}

.btn-delete { 
  color: #dc2626;
  border-color: #fecaca;
}

.btn-delete:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #f87171;
}

/* Status and form styles */
.status-message {
  padding: .75rem 1rem;
  border-radius: .375rem;
  margin-bottom: 1rem;
  font-size: .875rem;
}

.status-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--text-primary);
  font-size: .875rem;
}

.form-input {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--border-color);
  border-radius: .375rem;
  font-size: .875rem;
}

.form-textarea {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--border-color);
  border-radius: .375rem;
  font-size: .875rem;
  resize: vertical;
  min-height: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: var(--sidebar-width) !important; /* Force full width on mobile */
    z-index: 1000;
  }
  
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .sidebar.collapsed {
    width: var(--sidebar-width) !important; /* Ignore collapsed state on mobile */
    transform: translateX(-100%); /* Keep mobile behavior */
  }
  
  .sidebar.collapsed.mobile-open {
    transform: translateX(0); /* Show when mobile-open */
  }
  
  /* Mobile sidebar backdrop */
  .mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .mobile-backdrop.show {
    display: block;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .main-content.sidebar-collapsed {
    margin-left: 0; /* No margin adjustment on mobile */
  }
  
  /* Add padding to header to avoid toggle button overlap */
  .app-header {
    padding-left: 60px; /* Space for toggle button */
  }
  
  
  .sidebar-collapse-btn {
    display: none !important; /* Hide desktop collapse button on mobile */
  }
  
  .mobile-sidebar-toggle {
    display: block !important;
    position: fixed;
    top: 0.875rem;
    left: 0.875rem;
    z-index: 1002; /* Higher than sidebar */
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: .375rem;
    padding: .5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .mobile-sidebar-toggle:hover {
    background: var(--blue-secondary);
    transform: scale(1.05);
  }
  
  /* Show mobile toggle button on mobile screens */
  .mobile-sidebar-toggle.show-mobile {
    display: flex !important;
  }
  
  /* Hide mobile toggle when sidebar is open */
  body.mobile-sidebar-open .mobile-sidebar-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50px);
  }

  .controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .controls-left,
  .controls-right {
    justify-content: center;
  }

  .search-input,
  .dropdown-select {
    min-width: auto;
    flex: 1;
  }

  .search-wrapper {
    flex: 1;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  border-radius: .75rem;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem .75rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .375rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: var(--text-primary);
}

.confirm-body {
  padding: 1.5rem;
}

.confirm-body p {
  margin: 0 0 1.5rem 0;
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.5;
}

/* Form Styles - Compact Version */
.condition-form {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 600;
  margin-bottom: .375rem;
  color: var(--text-primary);
  font-size: .8rem;
}

.form-input,
.form-select,
.form-textarea {
  padding: .4rem .6rem;
  border: 1px solid var(--border-color);
  border-radius: .25rem;
  font-size: .8rem;
  transition: all 0.2s ease;
  height: 32px;
  box-sizing: border-box;
}

.form-textarea {
  height: auto;
  min-height: 60px;
  resize: vertical;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-size: .8rem;
  color: var(--text-primary);
  margin-top: .2rem;
}

.form-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.form-section {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: .375rem;
  border: 1px solid #e2e8f0;
}

.form-section h4 {
  margin: 0 0 .75rem 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: .375rem;
}

.form-section:last-of-type {
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
}

.btn-secondary {
  background: #f3f4f6;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: .4rem .8rem;
  border-radius: .25rem;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 32px;
}

.btn-secondary:hover {
  background: #e5e7eb;
  color: var(--text-primary);
}

/* Status badges */
.status-badge {
  padding: .25rem .5rem;
  border-radius: .375rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background: #dcfce7;
  color: #166534;
}

.status-inactive {
  background: #fef2f2;
  color: #dc2626;
}

/* Badge styles */
.badge {
  padding: .25rem .5rem;
  border-radius: .375rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  min-width: 60px;
  line-height: 1.2;
}

.badge-standard {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-high {
  background: #fef3c7;
  color: #d97706;
}

.badge-medium {
  background: #f3e8ff;
  color: #7c3aed;
}

.category-badge {
  padding: .25rem .5rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: .375rem;
  font-size: .75rem;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  min-width: 60px;
}

.validity-info {
  font-size: .8rem;
  line-height: 1.3;
}

.validity-info > div:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.validity-info > div:last-child {
  color: var(--text-secondary);
}

.requirement-info {
  font-size: .8rem;
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 500;
  background: #f0f9ff;
  padding: .25rem .5rem;
  border-radius: .375rem;
  border: 1px solid #e0f2fe;
  display: inline-block;
  text-align: center;
  min-width: 80px;
}

/* Notifications */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  z-index: 3000;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: slideInRight 0.3s ease;
}

.notification-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.notification-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.notification-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Discount styling */
.fee-amount.discount {
  color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fef2f2 100%);
  border-color: #fecaca;
}

/* Animation */
.content-section {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
