/*****************************
 * DEBUG CSS-- 1780474124
 *****************************/
@charset "UTF-8";
/*
 * Material Theme Builder tokens for ORepas
 *
 * Usage:
 * - `data-theme="material-light"` for light mode
 * - `data-theme="material-dark"` for dark mode
 *
 * This file exposes:
 * - raw Material tokens: `--md-sys-color-*`
 * - readable project aliases: `--color-*`
 * - compatibility aliases for the current codebase
 */
:root,
:root[data-theme=material-light],
:root[data-theme=light],
[data-theme=material-light],
[data-theme=light] {
  /* Raw Material tokens */
  --md-sys-color-primary: rgb(68 94 145);
  --md-sys-color-surface-tint: rgb(68 94 145);
  --md-sys-color-on-primary: rgb(255 255 255);
  --md-sys-color-primary-container: rgb(216 226 255);
  --md-sys-color-on-primary-container: rgb(43 70 120);
  --md-sys-color-secondary: rgb(87 94 113);
  --md-sys-color-on-secondary: rgb(255 255 255);
  --md-sys-color-secondary-container: rgb(219 226 249);
  --md-sys-color-on-secondary-container: rgb(63 71 89);
  --md-sys-color-tertiary: rgb(113 85 115);
  --md-sys-color-on-tertiary: rgb(255 255 255);
  --md-sys-color-tertiary-container: rgb(252 215 251);
  --md-sys-color-on-tertiary-container: rgb(88 62 91);
  --md-sys-color-error: rgb(186 26 26);
  --md-sys-color-on-error: rgb(255 255 255);
  --md-sys-color-error-container: rgb(255 218 214);
  --md-sys-color-on-error-container: rgb(147 0 10);
  --md-sys-color-background: rgb(249 249 255);
  --md-sys-color-on-background: rgb(26 27 32);
  --md-sys-color-surface: rgb(249 249 255);
  --md-sys-color-on-surface: rgb(26 27 32);
  --md-sys-color-surface-variant: rgb(225 226 236);
  --md-sys-color-on-surface-variant: rgb(68 71 79);
  --md-sys-color-outline: rgb(117 119 127);
  --md-sys-color-outline-variant: rgb(196 198 208);
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(47 48 54);
  --md-sys-color-inverse-on-surface: rgb(240 240 247);
  --md-sys-color-inverse-primary: rgb(173 198 255);
  --md-sys-color-primary-fixed: rgb(216 226 255);
  --md-sys-color-on-primary-fixed: rgb(0 26 66);
  --md-sys-color-primary-fixed-dim: rgb(173 198 255);
  --md-sys-color-on-primary-fixed-variant: rgb(43 70 120);
  --md-sys-color-secondary-fixed: rgb(219 226 249);
  --md-sys-color-on-secondary-fixed: rgb(20 27 44);
  --md-sys-color-secondary-fixed-dim: rgb(191 198 220);
  --md-sys-color-on-secondary-fixed-variant: rgb(63 71 89);
  --md-sys-color-tertiary-fixed: rgb(252 215 251);
  --md-sys-color-on-tertiary-fixed: rgb(41 19 45);
  --md-sys-color-tertiary-fixed-dim: rgb(222 188 223);
  --md-sys-color-on-tertiary-fixed-variant: rgb(88 62 91);
  --md-sys-color-surface-dim: rgb(217 217 224);
  --md-sys-color-surface-bright: rgb(249 249 255);
  --md-sys-color-surface-container-lowest: rgb(255 255 255);
  --md-sys-color-surface-container-low: rgb(243 243 250);
  --md-sys-color-surface-container: rgb(238 237 244);
  --md-sys-color-surface-container-high: rgb(232 231 239);
  --md-sys-color-surface-container-highest: rgb(226 226 233);
  /* Readable project aliases */
  --color-bg: var(--md-sys-color-background);
  --color-surface: var(--md-sys-color-surface-container-low);
  --color-surface-soft: var(--md-sys-color-surface-container);
  --color-surface-strong: var(--md-sys-color-surface-container-high);
  --color-card: var(--md-sys-color-surface-container);
  --color-card-strong: var(--md-sys-color-surface-container-high);
  --color-text: var(--md-sys-color-on-surface);
  --color-text-muted: var(--md-sys-color-on-surface-variant);
  --color-text-inverse: var(--md-sys-color-inverse-on-surface);
  --color-border: var(--md-sys-color-outline-variant);
  --color-outline: var(--md-sys-color-outline);
  --color-primary: var(--md-sys-color-primary);
  --color-primary-hover: var(--md-sys-color-on-primary-container);
  --color-primary-contrast: var(--md-sys-color-on-primary);
  --color-primary-soft: var(--md-sys-color-primary-container);
  --color-primary-soft-contrast: var(--md-sys-color-on-primary-container);
  --color-secondary: var(--md-sys-color-secondary);
  --color-secondary-hover: var(--md-sys-color-on-secondary-container);
  --color-secondary-contrast: var(--md-sys-color-on-secondary);
  --color-secondary-soft: var(--md-sys-color-secondary-container);
  --color-secondary-soft-contrast: var(--md-sys-color-on-secondary-container);
  --color-accent: var(--md-sys-color-tertiary);
  --color-accent-contrast: var(--md-sys-color-on-tertiary);
  --color-accent-soft: var(--md-sys-color-tertiary-container);
  --color-accent-soft-contrast: var(--md-sys-color-on-tertiary-container);
  --color-error: var(--md-sys-color-error);
  --color-error-contrast: var(--md-sys-color-on-error);
  --color-error-soft: var(--md-sys-color-error-container);
  --color-error-soft-contrast: var(--md-sys-color-on-error-container);
  /* Keep non-Material semantic colors explicit */
  --color-success: #2e7d32;
  --color-warning: #b26a00;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-link: var(--color-primary);
  --color-button-bg: var(--color-primary);
  --color-button-text: var(--color-primary-contrast);
  /*
   * Compatibility layer for the existing codebase.
   * Material does not export a full 50..900 scale, so these slots are mapped
   * to the closest available semantic tones.
   */
  --color-primary-50: var(--md-sys-color-primary-fixed);
  --color-primary-100: var(--md-sys-color-primary-container);
  --color-primary-200: var(--md-sys-color-primary-fixed-dim);
  --color-primary-300: var(--md-sys-color-inverse-primary);
  --color-primary-400: var(--md-sys-color-surface-tint);
  --color-primary-500: var(--md-sys-color-primary);
  --color-primary-600: var(--md-sys-color-primary);
  --color-primary-700: var(--md-sys-color-on-primary-container);
  --color-primary-800: var(--md-sys-color-on-primary-fixed-variant);
  --color-primary-900: var(--md-sys-color-on-primary-fixed);
  --color-primary-1000: var(--md-sys-color-on-primary-fixed);
  --color-secondary-50: var(--md-sys-color-secondary-fixed);
  --color-secondary-100: var(--md-sys-color-secondary-container);
  --color-secondary-200: var(--md-sys-color-secondary-fixed-dim);
  --color-secondary-300: var(--md-sys-color-secondary);
  --color-secondary-400: var(--md-sys-color-secondary);
  --color-secondary-500: var(--md-sys-color-secondary);
  --color-secondary-600: var(--md-sys-color-on-secondary-container);
  --color-secondary-700: var(--md-sys-color-on-secondary-container);
  --color-secondary-800: var(--md-sys-color-on-secondary-fixed);
  --color-gray-50: var(--md-sys-color-surface-bright);
  --color-gray-100: var(--md-sys-color-surface-container-low);
  --color-gray-200: var(--md-sys-color-surface-container);
  --color-gray-300: var(--md-sys-color-surface-container-high);
  --color-gray-400: var(--md-sys-color-outline-variant);
  --color-gray-500: var(--md-sys-color-outline);
  --color-gray-700: var(--md-sys-color-on-surface-variant);
  --color-gray-900: var(--md-sys-color-on-surface);
}

:root[data-theme=material-dark],
:root[data-theme=dark],
[data-theme=material-dark],
[data-theme=dark] {
  /* Raw Material tokens */
  --md-sys-color-primary: rgb(173 198 255);
  --md-sys-color-surface-tint: rgb(173 198 255);
  --md-sys-color-on-primary: rgb(17 47 96);
  --md-sys-color-primary-container: rgb(43 70 120);
  --md-sys-color-on-primary-container: rgb(216 226 255);
  --md-sys-color-secondary: rgb(191 198 220);
  --md-sys-color-on-secondary: rgb(41 48 65);
  --md-sys-color-secondary-container: rgb(63 71 89);
  --md-sys-color-on-secondary-container: rgb(219 226 249);
  --md-sys-color-tertiary: rgb(222 188 223);
  --md-sys-color-on-tertiary: rgb(64 40 67);
  --md-sys-color-tertiary-container: rgb(88 62 91);
  --md-sys-color-on-tertiary-container: rgb(252 215 251);
  --md-sys-color-error: rgb(255 180 171);
  --md-sys-color-on-error: rgb(105 0 5);
  --md-sys-color-error-container: rgb(147 0 10);
  --md-sys-color-on-error-container: rgb(255 218 214);
  --md-sys-color-background: rgb(17 19 24);
  --md-sys-color-on-background: rgb(226 226 233);
  --md-sys-color-surface: rgb(17 19 24);
  --md-sys-color-on-surface: rgb(226 226 233);
  --md-sys-color-surface-variant: rgb(68 71 79);
  --md-sys-color-on-surface-variant: rgb(196 198 208);
  --md-sys-color-outline: rgb(142 144 153);
  --md-sys-color-outline-variant: rgb(68 71 79);
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(226 226 233);
  --md-sys-color-inverse-on-surface: rgb(47 48 54);
  --md-sys-color-inverse-primary: rgb(68 94 145);
  --md-sys-color-primary-fixed: rgb(216 226 255);
  --md-sys-color-on-primary-fixed: rgb(0 26 66);
  --md-sys-color-primary-fixed-dim: rgb(173 198 255);
  --md-sys-color-on-primary-fixed-variant: rgb(43 70 120);
  --md-sys-color-secondary-fixed: rgb(219 226 249);
  --md-sys-color-on-secondary-fixed: rgb(20 27 44);
  --md-sys-color-secondary-fixed-dim: rgb(191 198 220);
  --md-sys-color-on-secondary-fixed-variant: rgb(63 71 89);
  --md-sys-color-tertiary-fixed: rgb(252 215 251);
  --md-sys-color-on-tertiary-fixed: rgb(41 19 45);
  --md-sys-color-tertiary-fixed-dim: rgb(222 188 223);
  --md-sys-color-on-tertiary-fixed-variant: rgb(88 62 91);
  --md-sys-color-surface-dim: rgb(17 19 24);
  --md-sys-color-surface-bright: rgb(55 57 62);
  --md-sys-color-surface-container-lowest: rgb(12 14 19);
  --md-sys-color-surface-container-low: rgb(26 27 32);
  --md-sys-color-surface-container: rgb(30 31 37);
  --md-sys-color-surface-container-high: rgb(40 42 47);
  --md-sys-color-surface-container-highest: rgb(51 53 58);
  /* Readable project aliases */
  --color-bg: var(--md-sys-color-background);
  --color-surface: var(--md-sys-color-surface-container-low);
  --color-surface-soft: var(--md-sys-color-surface-container);
  --color-surface-strong: var(--md-sys-color-surface-container-high);
  --color-card: var(--md-sys-color-surface-container);
  --color-card-strong: var(--md-sys-color-surface-container-high);
  --color-text: var(--md-sys-color-on-surface);
  --color-text-muted: var(--md-sys-color-on-surface-variant);
  --color-text-inverse: var(--md-sys-color-inverse-on-surface);
  --color-border: var(--md-sys-color-outline-variant);
  --color-outline: var(--md-sys-color-outline);
  --color-primary: var(--md-sys-color-primary);
  --color-primary-hover: var(--md-sys-color-primary-fixed);
  --color-primary-contrast: var(--md-sys-color-on-primary);
  --color-primary-soft: var(--md-sys-color-primary-container);
  --color-primary-soft-contrast: var(--md-sys-color-on-primary-container);
  --color-secondary: var(--md-sys-color-secondary);
  --color-secondary-hover: var(--md-sys-color-secondary-fixed);
  --color-secondary-contrast: var(--md-sys-color-on-secondary);
  --color-secondary-soft: var(--md-sys-color-secondary-container);
  --color-secondary-soft-contrast: var(--md-sys-color-on-secondary-container);
  --color-accent: var(--md-sys-color-tertiary);
  --color-accent-contrast: var(--md-sys-color-on-tertiary);
  --color-accent-soft: var(--md-sys-color-tertiary-container);
  --color-accent-soft-contrast: var(--md-sys-color-on-tertiary-container);
  --color-error: var(--md-sys-color-error);
  --color-error-contrast: var(--md-sys-color-on-error);
  --color-error-soft: var(--md-sys-color-error-container);
  --color-error-soft-contrast: var(--md-sys-color-on-error-container);
  --color-success: #86d993;
  --color-warning: #ffb95d;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-link: var(--color-primary);
  --color-button-bg: var(--color-primary);
  --color-button-text: var(--color-primary-contrast);
  /* Compatibility layer for the existing codebase */
  --color-primary-50: var(--md-sys-color-on-primary-fixed);
  --color-primary-100: var(--md-sys-color-on-primary-fixed-variant);
  --color-primary-200: var(--md-sys-color-primary-container);
  --color-primary-300: var(--md-sys-color-inverse-primary);
  --color-primary-400: var(--md-sys-color-surface-tint);
  --color-primary-500: var(--md-sys-color-primary);
  --color-primary-600: var(--md-sys-color-primary-fixed-dim);
  --color-primary-700: var(--md-sys-color-primary-fixed);
  --color-primary-800: var(--md-sys-color-on-primary-container);
  --color-primary-900: var(--md-sys-color-on-surface);
  --color-primary-1000: var(--md-sys-color-on-surface);
  --color-secondary-50: var(--md-sys-color-on-secondary-fixed);
  --color-secondary-100: var(--md-sys-color-on-secondary-fixed-variant);
  --color-secondary-200: var(--md-sys-color-secondary-container);
  --color-secondary-300: var(--md-sys-color-secondary);
  --color-secondary-400: var(--md-sys-color-secondary);
  --color-secondary-500: var(--md-sys-color-secondary);
  --color-secondary-600: var(--md-sys-color-secondary-fixed-dim);
  --color-secondary-700: var(--md-sys-color-secondary-fixed);
  --color-secondary-800: var(--md-sys-color-on-secondary-container);
  --color-gray-50: var(--md-sys-color-surface-container-lowest);
  --color-gray-100: var(--md-sys-color-surface-container-low);
  --color-gray-200: var(--md-sys-color-surface-container);
  --color-gray-300: var(--md-sys-color-surface-container-high);
  --color-gray-400: var(--md-sys-color-outline-variant);
  --color-gray-500: var(--md-sys-color-outline);
  --color-gray-700: var(--md-sys-color-on-surface-variant);
  --color-gray-900: var(--md-sys-color-on-surface);
}

.m-btn {
  --m-color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
  background: var(--m-color);
  color: var(--color-primary-contrast, var(--color-text-inverse));
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.1s ease, background 0.2s ease;
}
.m-btn > :nth-child(2) {
  margin-top: 2px;
}

/* Hover */
.m-btn:hover {
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.18);
  filter: brightness(0.98);
}

/* Click */
.m-btn:active {
  transform: scale(0.98);
}

/* Ripple effect */
.m-btn::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.6s ease;
}

.m-btn:active::after {
  transform: scale(1);
  opacity: 1;
  transition: 0s;
}

/* Icône */
.m-btn-icon {
  display: flex;
  align-items: center;
  font-size: 14px;
}

/* Disabled */
.m-btn:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.login-page {
  display: flex;
  height: 100vh;
  font-family: "Inter", sans-serif;
}

.company {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 50px;
}
.company * {
  color: white;
}
.company h5 {
  border-bottom: solid thin white;
  margin-bottom: 20px;
}

/* LEFT */
.left {
  flex: 1;
  position: relative;
  background: url("/assets/images/bg.jpg") center/cover no-repeat;
  /* si tu n'as pas d'image de fond -> garde juste couleur */
  background-color: #1e3a8a;
}
.left .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(59, 130, 246, 0.75));
}
.left .left-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.left .logo-left {
  width: 80px;
  margin-bottom: 20px;
}
.left h1 {
  font-size: 42px;
  margin-bottom: 10px;
}
.left .subtitle {
  font-size: 18px;
  opacity: 0.9;
}

/* RIGHT */
.right {
  flex: 1;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BOX */
.login-box {
  width: 360px;
  text-align: center;
}
.login-box.already-logged-in {
  width: 70%;
  text-align: left;
}
.login-box.already-logged-in > .footer {
  text-align: center;
}
.login-box.already-logged-in > .action-buttons {
  margin-top: 10px;
  padding: 20px;
  padding-left: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.login-box.already-logged-in > .action-buttons > .m-btn {
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.login-box.already-logged-in > .action-buttons > .btn-logout {
  background: var(--color-bg);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

/* HEADER */
.logo {
  width: 60px;
  margin-bottom: 10px;
}

h2 {
  font-size: 26px;
  margin-bottom: 5px;
  color: var(--color-text);
}

.description {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ERROR */
.error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-error-soft);
  color: var(--color-error-soft-contrast);
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.error i {
  font-size: 16px;
}
.error.hidden {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

/* FORM */
.form-group {
  margin-bottom: 15px;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-primary-contrast, white);
}
.form-group input::-moz-placeholder {
  color: color-mix(in srgb, var(--color-primary-contrast, white) 72%, transparent);
}
.form-group input::placeholder {
  color: color-mix(in srgb, var(--color-primary-contrast, white) 72%, transparent);
}
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
  background: var(--color-primary);
}
.form-group.password {
  position: relative;
}
.form-group.password .toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.6;
}

/* OPTIONS */
.options {
  text-align: left;
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

/* BUTTON */
.login-submit-btn {
  background: var(--color-primary);
  color: var(--color-primary-contrast, white);
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.login-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.spinner.hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* FORGOT */
.forgot {
  margin-top: 15px;
}
.forgot a {
  font-size: 14px;
  color: var(--color-link);
  text-decoration: none;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.footer span {
  display: block;
  margin-top: 5px;
}

.form-group.with-icon {
  position: relative;
}
.form-group.with-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--color-primary-contrast, white) 78%, transparent);
  font-size: 16px;
}
.form-group.with-icon input {
  padding-left: 40px;
}

/* Password eye */
.form-group.password .toggle {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: color-mix(in srgb, var(--color-primary-contrast, white) 78%, transparent);
}
.form-group.password .toggle i {
  font-size: 16px;
}

.form-group:focus-within {
  transform: scale(1.01);
}

input {
  transition: all 0.2s ease;
}
input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
  background: var(--color-primary);
}/*# sourceMappingURL=index.css.map */