@charset "UTF-8";

/*!
 * MD CSS v1.0.0 - Dec. 2024
 * Copyright 2007-2024 MarketDental.
 * ---
 * Fonts: Lexend, Rubik, Nunito, Lato, Noto Sans, Sora, Epilogue, Encode+Sans, Manrope, Archivo,
 *        Roboto, Raleway, Work Sans, Montserrat, Poppins, Source Sans Pro, Oxygen, Open Sans
 */

::selection {
  background-color: #f15d22;
  color: #ffffff;
}

::-moz-selection {
  background-color: #f15d22;
  color: #ffffff;
}

:root,
[data-bs-theme="light"] {
  --bs-primary: #f15d22;
  --bs-secondary: #4d5259;
  --bs-primary-rgb: 241, 93, 34;
  --bs-secondary-rgb: 77, 82, 89;
  --bs-font-sans-serif: "md2", "Lato", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-body-bg: radial-gradient(103.89% 81.75% at 95.41% 106.34%, #EAF8EF 6%, rgba(234, 248, 239, 0) 79.68%),
    radial-gradient(297.85% 151.83% at -21.39% 8.81%, #FAF1F1 0%, #FAF1F1 15.29%, #F3EDF5 21.39%, #E5F0FA 40.79%);
}

.btn-primary {
  --bs-primary: #f15d22;
  --bs-secondary: #4d5259;
  --bs-primary-rgb: 241, 93, 34;
  --bs-secondary-rgb: 77, 82, 89;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: var(--bs-secondary);
  --bs-btn-focus-shadow-rgb: var(--bd-primary-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
}

.btn-primary[disabled] {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  opacity: 0.5;
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Theme toggle */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50rem;
  background: transparent;
  color: var(--bs-body-color);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(241, 93, 34, 0.3);
}

.theme-dropdown {
  min-width: 10rem;
  padding: 0.25rem;
  margin-top: 0.25rem;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.theme-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.9375rem;
  transition: all ease-in-out 0.2s;
}

.theme-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.08);
}

.theme-dropdown-item.active {
  background: rgba(241, 93, 34, 0.15);
  color: var(--bs-primary);
}

.theme-dropdown-item .theme-check {
  margin-left: auto;
}

.bd-mode-toggle .theme-dropdown-item.active .theme-check {
  display: block !important;
}

/* Auth page layout */
.md-auth-page {
  background: #ffffff;
}

.md-auth {
  display: flex;
  min-height: 100vh;
}

.md-auth--solo .md-auth-main {
  width: 100%;
}

.md-auth-brand {
  display: none;
  flex: 1;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.01) 0%,
      rgba(255, 255, 255, 1) 85%
    ),
    radial-gradient(
      ellipse at top left,
      rgba(13, 110, 253, 0.25),
      transparent 50%
    ),
    radial-gradient(
      ellipse at top right,
      rgba(255, 228, 132, 0.25),
      transparent 50%
    ),
    radial-gradient(
      ellipse at center right,
      rgba(112, 44, 249, 0.25),
      transparent 50%
    ),
    radial-gradient(
      ellipse at center left,
      rgba(214, 51, 132, 0.25),
      transparent 50%
    );
  padding: 1.75rem 2.5rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .md-auth-brand {
    display: flex;
  }

  .md-auth:not(.md-auth--solo) .md-auth-brand,
  .md-auth:not(.md-auth--solo) .md-auth-main {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.md-auth-brand-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.md-auth-brand-header {
  flex-shrink: 0;
}

.md-auth-brand-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.md-auth-brand-img {
  width: 100%;
  max-width: min(600px, 100%);
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  display: block;
}

.md-auth-brand-body {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}

.md-auth-brand-title {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.md-auth-brand-title-sub {
  font-size: 2rem;
  font-weight: 100;
  line-height: 1.3;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.md-auth-brand-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4d5259;
  margin-bottom: 3rem;
  font-weight: 100;
}

.md-auth-brand-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 100;
  color: #9ca3af;
  margin-bottom: 0;
}

.md-auth-brand-copy a {
  color: #9ca3af;
  text-decoration: none;
}

.md-auth-brand-copy a:hover {
  color: #6b7280;
}

.md-auth-brand-play {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.md-auth-brand-play .md-auth-footer-play {
  margin-left: 0;
}

.md-auth-main {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem 5rem;
  background: #ffffff;
  position: relative;
}

.md-auth-main-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.md-auth-main-mobile {
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

.md-auth-form {
  width: 100%;
  max-width: 25rem;
  padding: 0 1rem;
}

.md-auth-form-logo {
  display: block;
}

.md-auth-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.md-auth-form-subtitle {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.md-auth-form .form-floating:focus-within {
  z-index: 2;
}

.md-auth-form .form-control {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
}

.md-auth-form .form-floating:has(+ .form-floating) input {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.md-auth-form .form-floating+.form-floating input {
  margin-bottom: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.md-auth-form .form-floating:has(+ .form-floating:focus-within) input {
  border-bottom-color: rgba(0, 0, 0, 0.5);
  border-bottom-width: 0.125rem;
}

.md-auth-form input:focus {
  border: 0.125rem solid rgba(0, 0, 0, 0.5);
  box-shadow: none;
}

.md-auth-form .alert {
  border-radius: 0.45rem;
  border: none;
  padding: 0.75rem;
  font-size: 0.9375rem;
  text-align: left;
}

.md-auth-form .alert-danger {
  background: rgba(220, 53, 69, 0.05);
  border: 1px solid rgba(220, 53, 69, 0.1);
  color: #b02a37;
}

.md-auth-form .alert-success {
  background: rgba(25, 135, 84, 0.05);
  border: 1px solid rgba(25, 135, 84, 0.1);
  color: #0f5132;
}

.md-auth-form .btn-primary {
  border-radius: 0.5rem;
}

.md-auth-form-forgot {
  color: #4d5259 !important;
}

.md-auth-form-check {
  font-size: 0.875rem;
  color: #4d5259;
}

.md-auth-form-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.md-auth-form-switch-body label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0;
  cursor: pointer;
}

.md-auth-form-switch .form-switch {
  padding-left: 0;
  min-height: auto;
}

.md-auth-form-switch .form-check-input {
  --bs-form-switch-bg: none;
  --bs-form-check-bg-image: none;
  width: 2.5rem;
  height: 1.25rem;
  margin: 0;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='rgba%280,0,0,0.35%29'/%3e%3c/svg%3e");
  background-repeat: no-repeat !important;
  background-position: left center;
  background-size: 1.25rem 1.25rem;
}

.md-auth-form-switch .form-check-input:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(241, 93, 34, 0.25);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='rgba%280,0,0,0.35%29'/%3e%3c/svg%3e");
  background-repeat: no-repeat !important;
  background-size: 1.25rem 1.25rem;
}

.md-auth-form-switch .form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='%23fff'/%3e%3c/svg%3e");
  background-repeat: no-repeat !important;
  background-position: right center;
  background-size: 1.25rem 1.25rem;
}

.md-auth-form-switch .form-check-input:checked:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='%23fff'/%3e%3c/svg%3e");
  background-position: right center;
}

.md-auth-form-check-hint {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #6b7280;
  margin-top: 0.125rem;
}

.md-auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: none;
  padding: 0 2.5rem;
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
}

.md-auth-footer--centered {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.md-auth-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #4d5259;
}

.md-auth-footer-links a {
  color: #4d5259;
}

.md-auth-footer-links a:hover {
  color: #2d3238;
}

.md-auth-footer-sep {
  color: #6b7280;
}

.md-auth-footer-play {
  flex-shrink: 0;
  margin-left: auto;
  opacity: 1;
  filter: brightness(0.82);
  transition: filter 0.2s;
}

.md-auth-footer-play:hover {
  filter: brightness(0.72);
}

@media (max-width: 575.98px) {
  .md-auth-footer {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1.5rem;
  }

  .md-auth-footer-play {
    margin-left: 0;
  }
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: radial-gradient(ellipse 80% 80% at 90% 10%, #1e2a35 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 10% 90%, #1a2332 0%, transparent 50%),
    #0f1419;

  .form-check-input {
    border-color: rgba(255, 255, 255, 0.35);
  }
  .form-check-input:not(:checked) {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .form-switch .form-check-input:not(:checked):not(:focus) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.85%29'/%3e%3c/svg%3e");
  }

  .btn-light {
    background: var(--bs-body-bg);
    border: var(--bs-body-bg);
    color: var(--bs-white);
    fill: var(--bs-white);
  }

  .dropdown-item {
    fill: var(--bs-white);
  }

  .dropdown-item.active,
  .dropdown-item:active {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    fill: var(--bs-white);
  }

  .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--bs-white);
  }

  .theme-toggle-btn svg {
    fill: var(--bs-white);
  }

  .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .theme-dropdown {
    background: rgba(30, 35, 45, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }

  .theme-dropdown-item {
    color: rgba(255, 255, 255, 0.85);
  }

  .theme-dropdown-item svg {
    fill: currentColor;
  }

  .theme-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bs-white);
  }

  .theme-dropdown-item.active {
    background: rgba(241, 93, 34, 0.2);
    color: var(--bs-white);
  }

  .theme-dropdown-item.active svg {
    fill: var(--bs-white);
  }

  .md-auth-page {
    background: var(--bs-body-bg);
  }

  .md-auth-brand {
    background: linear-gradient(
        180deg,
        rgba(15, 20, 25, 0.01) 0%,
        rgba(15, 20, 25, 1) 85%
      ),
      radial-gradient(
        ellipse at top left,
        rgba(255, 228, 132, 0.2),
        transparent 50%
      ),
      radial-gradient(
        ellipse at top right,
        rgba(13, 110, 253, 0.3),
        transparent 50%
      ),
      radial-gradient(
        ellipse at center right,
        rgba(214, 51, 132, 0.3),
        transparent 50%
      ),
      radial-gradient(
        ellipse at center left,
        rgba(112, 44, 249, 0.3),
        transparent 50%
      );
  }

  .md-auth-brand-title {
    color: var(--bs-white);
  }

  .md-auth-brand-text {
    color: rgba(255, 255, 255, 0.75);
  }

  .md-auth-brand-copy {
    color: rgba(255, 255, 255, 0.4);
  }

  .md-auth-brand-copy a {
    color: rgba(255, 255, 255, 0.4);
  }

  .md-auth-brand-copy a:hover {
    color: rgba(255, 255, 255, 0.6);
  }

  .md-auth-main {
    background: var(--bs-body-bg);
  }

  .md-auth-form-subtitle {
    color: rgba(255, 255, 255, 0.6);
  }

  .md-auth-form input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--bs-white);
  }

  .md-auth-form .form-floating>label {
    color: rgba(255, 255, 255, 0.6);
  }

  .md-auth-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    border: 0.125rem solid var(--bs-white);
    color: var(--bs-white);
  }

  .md-auth-form .form-floating:has(+ .form-floating:focus-within) input {
    border-bottom-color: var(--bs-white);
    border-bottom-width: 0.125rem;
  }

  .md-auth-form .alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #f5a2a9;
  }

  .md-auth-form .alert-success {
    background: rgba(25, 135, 84, 0.15);
    border: 1px solid rgba(25, 135, 84, 0.2);
    color: #75c997;
  }

  .md-auth-form-forgot {
    color: var(--bs-white) !important;
  }

  .md-auth-form-check,
  .md-auth-form-check .form-check-label,
  .md-auth-form-switch-body label {
    color: rgba(255, 255, 255, 0.75);
  }

  .md-auth-form-switch .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='%23fff'/%3e%3c/svg%3e");
    background-repeat: no-repeat !important;
    background-position: left center;
    background-size: 1.25rem 1.25rem;
  }

  .md-auth-form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='%23fff'/%3e%3c/svg%3e");
    background-repeat: no-repeat !important;
    background-position: right center;
    background-size: 1.25rem 1.25rem;
  }

  .md-auth-form-switch .form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(241, 93, 34, 0.25);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='6' fill='%23fff'/%3e%3c/svg%3e");
    background-repeat: no-repeat !important;
    background-size: 1.25rem 1.25rem;
  }

  .md-auth-form-switch .form-check-input:checked:focus {
    background-position: right center;
  }

  .md-auth-form-check-hint {
    color: rgba(255, 255, 255, 0.5);
  }

  .md-auth-footer-links,
  .md-auth-footer-links a {
    color: #9ca3af;
  }

  .md-auth-footer-links a:hover {
    color: #d1d5db;
  }

  .md-auth-footer-sep {
    color: #6b7280;
  }

  .md-auth-footer-play {
    filter: invert(1) brightness(0.9);
  }

  .md-auth-footer-play:hover {
    filter: invert(1) brightness(0.8);
  }
}