/*
 * ManageGuard Light Theme
 * A comprehensive light theme for ManageGuard components
 */

:root {
  /* Base colors */
  --rz-white: #ffffff;
  --rz-black: #000000;
  --rz-base-50: #f8fafb;
  --rz-base-100: #f3f6f9;
  --rz-base-200: #e3eaf2;
  --rz-base-300: #dfe5ec;
  --rz-base-400: #dbe0e6;
  --rz-base-500: #d7dbe0;
  --rz-base-600: #c6cbd2;
  --rz-base-700: #74787e;
  --rz-base-800: #45494f;
  --rz-base-900: #1b1d20;
  /* Text colors */
  --mk-text: #1f2937;
  --mk-text-light: #ffffff;
  --mk-text-color: #1f2937;
  --mk-text-muted: #6b7280;
  --mk-black-color: #2a2a2a;
  /* Border and focus colors */
  --mk-border-color: #e5e7eb;
  --mk-focus-border-color: var(--mk-primary-color);
  /* Primary colors - Blue */
  --mk-primary: #0c2a61;
  --mk-primary-color: var(--mk-primary);
  --mk-primary-hover: #09214e;
  --mk-primary-light: #1a3c78;
  --mk-primary-lighter: rgba(103, 139, 203, 0.26);
  --mk-primary-dark: #091f48;
  --mk-primary-darker: #061530;
  /* Secondary colors - Slate blue */
  --mk-secondary: #5a6b8c;
  --mk-secondary-color: var(--mk-secondary);
  --mk-secondary-hover: #4e5d7a;
  --mk-secondary-light: #259472;
  --mk-secondary-lighter: #30ab89;
  --mk-secondary-dark: #53617c;
  --mk-secondary-darker: #0e4e37;
  /* Accent/Tertiary colors - Tomato red */
  --mk-accent: #ff6347;
  --mk-tertiary-color: var(--mk-accent);
  --mk-accent-hover: #e6583e;
  --mk-accent-light: #e29f3c;
  --mk-accent-lighter: #eab254;
  --mk-accent-dark: #e6583e;
  --mk-tertiary-dark: var(--mk-accent-dark);
  --mk-accent-darker: #9a6318;
  /* MK Background */
  --mk-background: #ffffff;
  --mk-background-secondary: #f8fafc;
  --mk-background-tertiary: #f1f5f9;
  /* Scrollbar colors - Light mode */
  --mk-scrollbar-track: #f0f0f0;
  --mk-scrollbar-thumb: #c0c0c0;
  --mk-scrollbar-thumb-hover: #a0a0a0;
  --mk-scrollbar-thumb-active: #909090;
  /* Scrollbar dimensions */
  --mk-scrollbar-width: 12px;
  --mk-scrollbar-thumb-width: 4px;
  --mk-scrollbar-thumb-height: 80px;
  --mk-scrollbar-border-radius: 4px;
  --mk-scrollbar-transition: all 0.2s ease;
  /* Sidebar */
  --mk-sidebar-width: 240px;
  --mk-sidebar-width-collapsed: 64px;
  --mk-sidebar-active-background: var(--mk-primary-lighter);
  --mk-sidebar-active-color: var(--mk-primary);
  --mk-sidebar-height: 64px;
  --mk-sidebar-background: #ffffff;
  /* Radzen overrides */
  --rz-primary: var(--mk-primary) !important;
  --rz-grid-border-radius: calc(var(--rz-border-radius) * 3) !important;
  --rz-border-radius: 4px !important;
  --rz-panel-menu-item-active-background-color: var(--mk-sidebar-active-background);
  --rz-panel-menu-item-active-color: var(--mk-sidebar-active-color);
  --rz-panel-menu-item-color: var(--rz-base-800) !important;
  --rz-grid-header-background-color: #f8fafb !important;
  --rz-grid-frozen-cell-background-color: var(--rz-base-100) !important;
  /* Success colors */
  --mk-success: #10b981;
  --mk-success-light: #d1fae5;
  --mk-success-hover: #059669;
  /* Warning colors */
  --mk-warning: #f59e0b;
  --mk-warning-light: #fef3c7;
  --mk-warning-hover: #d97706;
  /* Danger colors */
  --mk-danger: #ef4444;
  --mk-danger-light: #fee2e2;
  --mk-danger-hover: #dc2626;
  /* Info colors */
  --mk-info: #06b6d4;
  --mk-info-light: #cffafe;
  --mk-info-hover: #0891b2;
  /* Neutral Colors */
  --mk-white: #ffffff;
  --mk-gray-50: #f8fafc;
  --mk-gray-100: #f1f5f9;
  --mk-gray-200: #e2e8f0;
  --mk-gray-300: #cbd5e1;
  --mk-gray-400: #94a3b8;
  --mk-gray-500: #64748b;
  --mk-gray-600: #475569;
  --mk-gray-700: #334155;
  --mk-gray-800: #1e293b;
  --mk-gray-900: #0f172a;
  --mk-neutral-100: #f5f7fa;
  --mk-neutral-200: #e1e5eb;
  --mk-neutral-300: #c8cfd8;
  --mk-neutral-400: #8896ab;
  --mk-neutral-500: #5a6b8c;
  --mk-neutral-600: #4a5b7c;
  --mk-neutral-700: #3a4b6c;
  --mk-neutral-800: #2a3b5c;
  --mk-neutral-900: #1a2b4c;
  /* Shadows */
  --mk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --mk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --mk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --mk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --mk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  /* Border Radius */
  --mk-radius-sm: 0.375rem;
  --mk-radius-md: 0.5rem;
  --mk-radius-lg: 0.75rem;
  --mk-radius-xl: 1rem;
  --mk-radius-2xl: 1.5rem;
  /* Spacing */
  --mk-space-xs: 0.5rem;
  --mk-space-sm: 0.75rem;
  --mk-space-md: 1rem;
  --mk-space-lg: 1.5rem;
  --mk-space-xl: 2rem;
  --mk-space-2xl: 3rem;
  /* shadcn/ui's default styles - Updated with MK colors */
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

/* CSS global pour assurer la compatibilité responsive */

/* Force responsive behavior for all form elements */
.mk-responsive-form * {
  box-sizing: border-box;
  max-width: 100%;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Better table responsiveness */
table {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Improve form spacing on mobile */
  .form-group {
    margin-bottom: 1rem;
  }

  /* Better button spacing */
  .btn-group {
    flex-wrap: wrap;
  }

    .btn-group .btn {
      margin-bottom: 0.25rem;
    }
}

/* Print styles */
@media print {
  .mk-form-container {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  .mk-step-navigation,
  .mk-progress-bar {
    display: none !important;
  }
}


/* Radzen Material Light Theme Overrides */
.rz-layout.rz-material {
  --rz-grid-header-background-color: #f8fafb !important;
  --rz-base-background-color: var(--rz-base-50);
}

  .rz-layout.rz-material .rz-data-row:hover {
    background: #e3eaf2;
  }

/* Selected row background */
.rz-layout tr.rz-state-highlight.rz-data-row {
  background: #dfebff;
}

/* Selected row text */
.rz-layout .rz-selectable tbody tr.rz-data-row.rz-state-highlight .rz-cell-data {
  color: #3a385d;
}

/* Dialog styling */
.rz-dialog {
  --rz-background: radial-gradient(circle, #ffffff, #f3f4f6);
  --rz-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  --rz-border-radius: 12px;
  --rz-padding: 25px;
  --rz-border: 1px solid #e0e0e0;
  --rz-overflow: hidden;
  --rz-animation: fadeIn 0.5s ease-in-out;
  --rz-font-family: "Poppins", sans-serif;
}

.light body {
  background-color: var(--mk-background);
  color: var(--mk-text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mk-layout, .mk-main-content, .mk-body, .mk-page-container, .mk-content-wrap, .mk-content-body, .mk-card,
.card, .mk-dashboard-card {
  background-color: var(--mk-background) !important;
}

/* Bootstrap overrides */
body .modal-backdrop.show {
  opacity: 0 !important;
}

body .text-black {
  color: var(--mk-black-color) !important;
}

body .text-primary {
  color: var(--mk-primary-color) !important;
}

body .text-secondary {
  color: var(--mk-secondary-color) !important;
}

body .text-tertiary {
  color: var(--mk-tertiary-color) !important;
}

.text-sm {
  font-size: 0.65rem !important;
}

.btn-primary {
  background: var(--mk-primary-color) !important;
}

/* Nav pills customization */
.nav-pills {
  border: 2px solid var(--mk-primary-color);
}

  .nav-pills .nav-link {
    border-radius: 30px !important;
    width: auto;
    color: var(--mk-primary-color);
    background: transparent;
  }

    .nav-pills .nav-link:hover {
      color: var(--mk-primary-color);
    }

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
      color: var(--mk-secondary-color);
      background: var(--mk-primary-color) !important;
      border-bottom: none;
    }

/* Button styling */
.btn {
  font-size: 1.03rem;
  padding: 0.55rem auto !important;
  outline: none;
  border: 1px solid var(--mk-primary-color) !important;
}

  .btn:focus,
  .btn:active,
  .btn.active:focus {
    outline: none;
    box-shadow: none !important;
  }

/* Form field styling */
body .mk-form-field-content label {
  margin-bottom: 0.2rem;
}

body .mk-form-field-content input {
  caret-color: var(--mk-text-color);
}

body .mk-form-field-content .form-control {
  border: 1px solid var(--mk-border-color) !important;
  background: initial;
  color: var(--mk-text-color) !important;
}

  body .mk-form-field-content .form-control:focus,
  body .mk-form-field-content .form-control:active,
  body .mk-form-field-content .form-control.active:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--mk-primary-lighter);
    border: 2px solid var(--mk-focus-border-color) !important;
  }

.form-check-input:focus,
.form-check-input:active,
.form-check-input.active:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--mk-primary-lighter);
  border: 2px solid var(--mk-primary-color) !important;
}

/* Scrollbar styling for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--mk-scrollbar-thumb) var(--mk-scrollbar-track);
}

/* Scrollbar styling for Webkit browsers */
::-webkit-scrollbar {
  width: var(--mk-scrollbar-width);
  height: var(--mk-scrollbar-width);
  transition: var(--mk-scrollbar-transition);
}

::-webkit-scrollbar-track {
  background: var(--mk-scrollbar-track);
  transition: var(--mk-scrollbar-transition);
}

::-webkit-scrollbar-thumb {
  background: var(--mk-scrollbar-thumb);
  border-radius: var(--mk-scrollbar-border-radius);
  transition: var(--mk-scrollbar-transition);
  /* Center the thumb in the track */
  border-left: calc((var(--mk-scrollbar-width) - var(--mk-scrollbar-thumb-width)) / 2) solid transparent;
  border-right: calc((var(--mk-scrollbar-width) - var(--mk-scrollbar-thumb-width)) / 2) solid transparent;
  background-clip: content-box;
  /* Minimum height for the thumb */
  min-height: var(--mk-scrollbar-thumb-height);
}

  ::-webkit-scrollbar-thumb:hover {
    background: var(--mk-scrollbar-thumb-hover);
    background-clip: content-box;
  }

  ::-webkit-scrollbar-thumb:active {
    background: var(--mk-scrollbar-thumb-active);
    background-clip: content-box;
  }

/* Hide scrollbar buttons */
::-webkit-scrollbar-button {
  display: none;
}

/* Scrollbar corner styling */
::-webkit-scrollbar-corner {
  background: var(--mk-scrollbar-track);
}

/* Horizontal scrollbar styling */
::-webkit-scrollbar:horizontal {
  height: 8px;
}

/* Utility classes for scrollbar styling */
.force-dark-scrollbar {
  --mk-scrollbar-track: #1e1e1e !important;
  --mk-scrollbar-thumb: #e0e0e0 !important;
  --mk-scrollbar-thumb-hover: #ffffff !important;
  --mk-scrollbar-thumb-active: #ffffff !important;
}

.force-light-scrollbar {
  --mk-scrollbar-track: #f0f0f0 !important;
  --mk-scrollbar-thumb: #c0c0c0 !important;
  --mk-scrollbar-thumb-hover: #a0a0a0 !important;
  --mk-scrollbar-thumb-active: #909090 !important;
}

/* Hide scrollbar while maintaining functionality */
.hide-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Thin scrollbar variant */
.thin-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
  --mk-scrollbar-thumb-width: 2px;
  border-left: calc((8px - var(--mk-scrollbar-thumb-width)) / 2) solid transparent;
  border-right: calc((8px - var(--mk-scrollbar-thumb-width)) / 2) solid transparent;
}

/* Thick scrollbar variant */
.thick-scrollbar::-webkit-scrollbar {
  width: 16px;
}

.thick-scrollbar::-webkit-scrollbar-thumb {
  --mk-scrollbar-thumb-width: 6px;
  border-left: calc((16px - var(--mk-scrollbar-thumb-width)) / 2) solid transparent;
  border-right: calc((16px - var(--mk-scrollbar-thumb-width)) / 2) solid transparent;
}

/*
 * ManageGuard Components
 * Shared component styles for both light and dark themes
 */

/* MKText component styles */
.mk-text {
  margin-bottom: 0.5rem;
}

.mk-text-h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.mk-text-h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
}

.mk-text-h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.mk-text-h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.mk-text-h5 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.mk-text-h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.mk-text-subtitle1 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.mk-text-subtitle2 {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.mk-text-body1 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.mk-text-body2 {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.mk-text-button {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.mk-text-caption {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
}

.mk-text-overline {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mk-text-center {
  text-align: center;
}

.mk-text-right {
  text-align: right;
}

.mk-text-justify {
  text-align: justify;
}

/* MKLink component styles */
.mk-link {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.mk-link-default {
  color: inherit;
}

.mk-link-primary {
  color: var(--mk-primary-color);
}

.mk-link-secondary {
  color: var(--mk-secondary-color);
}

.mk-link-tertiary {
  color: var(--mk-tertiary-color);
}

.mk-link-small {
  font-size: 0.875rem;
}

.mk-link-medium {
  font-size: 1rem;
}

.mk-link-large {
  font-size: 1.25rem;
}

.mk-link-underline {
  text-decoration: underline;
}

.mk-link:hover {
  opacity: 0.8;
}

/* MKAlert component styles - Modern UI/UX */
.mk-alert {
  position: relative;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Alert types - Light theme */
.mk-alert-success {
  color: #0d6832;
  background-color: #edf7f0;
  border-left: 4px solid #28a745;
}

.mk-alert-warning {
  color: #856404;
  background-color: #fff9e6;
  border-left: 4px solid #ffc107;
}

.mk-alert-danger {
  color: #721c24;
  background-color: #fbeef0;
  border-left: 4px solid #dc3545;
}

.mk-alert-info {
  color: #0c5460;
  background-color: #e6f7fa;
  border-left: 4px solid #17a2b8;
}

/* Alert types - Dark theme */
.rz-material-dark .mk-alert-success {
  color: #d4edda;
  background-color: rgba(40, 167, 69, 0.2);
  border-left: 4px solid #28a745;
}

.rz-material-dark .mk-alert-warning {
  color: #fff3cd;
  background-color: rgba(255, 193, 7, 0.2);
  border-left: 4px solid #ffc107;
}

.rz-material-dark .mk-alert-danger {
  color: #f8d7da;
  background-color: rgba(220, 53, 69, 0.2);
  border-left: 4px solid #dc3545;
}

.rz-material-dark .mk-alert-info {
  color: #d1ecf1;
  background-color: rgba(23, 162, 184, 0.2);
  border-left: 4px solid #17a2b8;
}

.mk-alert-static {
  width: 100%;
}

/* Toast container */
.mk-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 90%;
}

.mk-toast-item {
  width: 350px;
  max-width: 100%;
}

@media (max-width: 576px) {
  .mk-toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    align-items: center;
  }

  .mk-toast-item {
    width: 100%;
  }
}

.mk-alert-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 350px;
  max-width: 90%;
  z-index: 1050;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: mk-toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

@keyframes mk-toast-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mk-toast-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}

.mk-alert-hidden {
  animation: mk-toast-out 0.3s forwards;
}

.mk-alert-dismissible {
  padding-right: 3.5rem;
}

.mk-alert-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.mk-alert-content {
  flex: 1;
}

.mk-alert-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mk-alert-message {
  margin: 0;
  font-size: 0.95rem;
}

.mk-alert-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
  transition: all 0.2s ease;
}

  .mk-alert-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
  }

.rz-material-dark .mk-alert-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Progress bar for auto-dismiss */
.mk-alert-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.1);
}

.rz-material-dark .mk-alert-progress {
  background-color: rgba(255, 255, 255, 0.1);
}

.mk-alert-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: mk-progress-animation linear forwards;
}

@keyframes mk-progress-animation {
  0% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
  }
}

.mk-alert-success .mk-alert-progress-bar {
  background-color: #28a745;
}

.mk-alert-warning .mk-alert-progress-bar {
  background-color: #ffc107;
}

.mk-alert-danger .mk-alert-progress-bar {
  background-color: #dc3545;
}

.mk-alert-info .mk-alert-progress-bar {
  background-color: #17a2b8;
}



.mk-section-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--mk-primary-color);
  display: block; /* Ensure it's a block element */
  width: 100%; /* Take full width */
}

.mk-highlight-container {
  background-color: var(--rz-base-100);
  border-radius: var(--rz-border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--mk-primary-color);
}

.mk-form-section-content {
  display: block; /* Changed from flex to block */
}

.rz-material-dark .mk-highlight-container {
  background-color: var(--rz-base-800);
}

.mk-form-section {
  margin-bottom: 0.5rem;
}

/* MKMultiStep component styles */
.mk-multi-step-container {
  position: relative;
}

.mk-multi-step-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mk-multi-step-item {
  flex: 1;
  position: relative;
}

  .mk-multi-step-item.active .mk-multi-step-indicator {
    background-color: var(--mk-primary-color);
    color: white;
  }

  .mk-multi-step-item.completed .mk-multi-step-indicator {
    background-color: var(--mk-secondary-color);
    color: white;
  }

.mk-multi-step-indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--rz-base-200);
  border: 1px solid var(--mk-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rz-material-dark .mk-multi-step-indicator {
  background-color: var(--rz-base-800);
}

.mk-multi-step-label {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.mk-multi-step-connector {
  position: absolute;
  top: 1rem;
  height: 2px;
  background-color: var(--mk-border-color);
  width: 100%;
  left: 0;
  z-index: 0;
}

.mk-multi-step-item.completed .mk-multi-step-connector {
  background-color: var(--mk-secondary-color);
}

/* MKStack component styles */
.mk-stack {
  display: flex;
  flex-direction: column;
}

.mk-stack-horizontal {
  flex-direction: row;
}

.mk-stack-item {
  flex: 0 0 auto;
}

.mk-stack-item-fill {
  flex: 1 1 auto;
}

/* MKStaticsBox component styles */
.mk-statics-box {
  padding: 1.5rem;
  border-radius: var(--rz-border-radius);
  background-color: var(--rz-base-50);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.rz-material-dark .mk-statics-box {
  background-color: var(--rz-base-800);
}

.mk-statics-box-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--mk-text-color);
}

.mk-statics-box-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--mk-primary-color);
}

.mk-statics-box-icon {
  font-size: 2.5rem;
  color: var(--mk-primary-color);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .mk-alert-toast {
    width: 90%;
    left: 5%;
    right: 5%;
  }

  .mk-multi-step-label {
    font-size: 0.75rem;
  }

  .mk-statics-box {
    padding: 1rem;
  }

  .mk-statics-box-value {
    font-size: 1.5rem;
  }
}
