html {
  font-size: 14px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Fix for MudSelect dropdown in modals */
.modal-select-popover {
  z-index: 1500 !important;
}

/* Fix for MudDatePicker calendar in modals */
.mud-picker-open .mud-picker-popover-paper,
.mud-popover-paper,
.mud-picker-popover,
.mud-popover {
  z-index: 1500 !important;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #091577;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa !important;
  color: #324A6D !important;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.mud-drawer-mini-regressed {
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Modern Card Styles */
.mud-card {
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.mud-card-header {
    padding: 20px 24px 16px 24px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.mud-card-content {
    padding: 20px 24px !important;
}

.mud-card-actions {
    padding: 16px 24px 20px 24px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Modern Paper/Panel Styles */
.mud-paper {
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Clean layout improvements */
.modern-stat-card {
    background: linear-gradient(135deg, #091577 0%, #6B73FF 100%) !important;
    color: white !important;
    border: none !important;
}

.modern-stat-card .mud-typography {
    color: white !important;
}

/* Custom color variables */
:root {
    --primary-color: #091577;
    --secondary-color: #6B73FF;
    --tertiary-color: #9C27B0;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --info-color: #2196F3;
    --text-primary: #324A6D;
    --text-secondary: #6B7280;
    --background-color: #F8F9FA;
    --surface-color: #FFFFFF;
}

/* Reduce nested card appearance */
.simplified-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Subtle border box for information sections */
.info-border-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 20px;
}