:root,
[data-theme=light] {
  color-scheme: light;
  --color-bg: #F5F7FA;
  --color-surface: #ffffff;
  --color-surface-2: #f0f0f0;
  --color-border: #E0E0E0;
  --color-text: #1A1A1A;
  --color-text-muted: #666666;
  --color-text-subtle: #9E9E9E;
  --color-primary: #E53935;
  --color-primary-hover:#D32F2F;
  --color-link: #D81B60;
  --color-focus: #8E24AA;
  --color-focus-shadow: rgba(142, 36, 170, 0.2);
  --gradient-primary: linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00);
  --color-success-bg: #e8f5e9;
  --color-success-border:#a5d6a7;
  --color-success-text: #2e7d32;
  --color-warning-bg: #fff3e0;
  --color-warning-border:#ffcc80;
  --color-warning-text: #e65100;
  --color-error-bg: #ffebee;
  --color-error-border: #ef9a9a;
  --color-error-text: #c62828;
  --color-info-bg: #e3f2fd;
  --color-info-border: #90caf9;
  --color-info-text: #1565c0;
  --auth-bg: var(--color-bg);
  --auth-card-bg: var(--color-surface);
  --auth-shadow: rgba(229, 57, 53, 0.08) 0 10px 40px, rgba(0, 0, 0, 0.06) 0 2px 12px;
  --auth-primary: var(--color-primary);
  --auth-border: var(--color-border);
  --auth-placeholder: var(--color-text-subtle);
  --auth-label: #333333;
  --locale-track-bg: rgba(229, 57, 53, 0.1);
  --locale-track-border:rgba(229, 57, 53, 0.2);
  --locale-pill-bg: #E53935;
  --locale-label-inactive: #aaa;
  --toggle-bg: rgba(0, 0, 0, 0.06);
  --toggle-border: rgba(0, 0, 0, 0.12);
  --toggle-icon-color: #555;
}

[data-theme=dark] {
  color-scheme: dark;
  --color-bg: #121212;
  --color-surface: #1e1e1e;
  --color-surface-2: #2a2a2a;
  --color-border: #333333;
  --color-text: #e8e8e8;
  --color-text-muted: #aaaaaa;
  --color-text-subtle: #777777;
  --color-primary: #EF5350;
  --color-primary-hover:#E53935;
  --color-link: #E91E8C;
  --color-focus: #AB47BC;
  --color-focus-shadow: rgba(171, 71, 188, 0.25);
  --gradient-primary: linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00);
  --color-success-bg: #1b3a1f;
  --color-success-border:#2e7d32;
  --color-success-text: #81c784;
  --color-warning-bg: #2e2000;
  --color-warning-border:#e65100;
  --color-warning-text: #ffb74d;
  --color-error-bg: #2d0a0a;
  --color-error-border: #c62828;
  --color-error-text: #ef9a9a;
  --color-info-bg: #0d1f3c;
  --color-info-border: #1565c0;
  --color-info-text: #90caf9;
  --auth-bg: var(--color-bg);
  --auth-card-bg: var(--color-surface);
  --auth-shadow: rgba(0, 0, 0, 0.6) 0 10px 40px;
  --auth-primary: var(--color-primary);
  --auth-border: var(--color-border);
  --auth-placeholder: var(--color-text-subtle);
  --auth-label: #cccccc;
  --locale-track-bg: rgba(255, 255, 255, 0.1);
  --locale-track-border:rgba(255, 255, 255, 0.15);
  --locale-pill-bg: #EF5350;
  --locale-label-inactive: #666;
  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-border: rgba(255, 255, 255, 0.12);
  --toggle-icon-color: #ccc;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --color-bg: #121212;
    --color-surface: #1e1e1e;
    --color-surface-2: #2a2a2a;
    --color-border: #333333;
    --color-text: #e8e8e8;
    --color-text-muted: #aaaaaa;
    --color-text-subtle: #777777;
    --color-primary: #EF5350;
    --color-primary-hover:#E53935;
    --color-link: #E91E8C;
    --color-focus: #AB47BC;
    --color-focus-shadow: rgba(171, 71, 188, 0.25);
    --gradient-primary: linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00);
    --color-success-bg: #1b3a1f;
    --color-success-border:#2e7d32;
    --color-success-text: #81c784;
    --color-warning-bg: #2e2000;
    --color-warning-border:#e65100;
    --color-warning-text: #ffb74d;
    --color-error-bg: #2d0a0a;
    --color-error-border: #c62828;
    --color-error-text: #ef9a9a;
    --color-info-bg: #0d1f3c;
    --color-info-border: #1565c0;
    --color-info-text: #90caf9;
    --auth-bg: var(--color-bg);
    --auth-card-bg: var(--color-surface);
    --auth-shadow: rgba(0, 0, 0, 0.6) 0 10px 40px;
    --auth-primary: var(--color-primary);
    --auth-border: var(--color-border);
    --auth-placeholder: var(--color-text-subtle);
    --auth-label: #cccccc;
    --locale-track-bg: rgba(255, 255, 255, 0.1);
    --locale-track-border:rgba(255, 255, 255, 0.15);
    --locale-pill-bg: #EF5350;
    --locale-label-inactive: #666;
    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-border: rgba(255, 255, 255, 0.12);
    --toggle-icon-color: #ccc;
  }
}
body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition: background-color 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  transition-delay: 0s !important;
}

.theme-toggle {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  cursor: pointer;
  padding: 0;
  color: var(--toggle-icon-color);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  animation: localeSwitchIn 0.4s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@media (min-width: 768px) {
  .theme-toggle {
    top: 16px;
    left: 16px;
    width: 34px;
    height: 22px;
    border-radius: 11px;
  }
}
.theme-toggle:hover {
  background: var(--locale-track-bg);
  border-color: var(--locale-track-border);
}
.theme-toggle svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.theme-toggle .icon-sun {
  display: none;
  color: #FFB300;
}
.theme-toggle .icon-moon {
  display: block;
  color: #7BA7D4;
}

[data-theme=dark] .theme-toggle .icon-sun {
  display: block;
  color: #FFB300;
}
[data-theme=dark] .theme-toggle .icon-moon {
  display: none;
}

:root.locale-no-anim .theme-toggle {
  animation: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
  background-color: var(--auth-bg, #f8f8f8);
}

.auth-card {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  background-color: var(--auth-card-bg, #fff);
  box-shadow: var(--auth-shadow, rgba(0, 0, 0, 0.1) 0 10px 30px);
}

.auth-panel {
  position: relative;
  flex: 1 1 100%;
  padding: 40px 28px 32px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .auth-panel {
    flex: 0 0 50%;
    padding: 58px 40px 40px;
  }
}

.auth-bg {
  display: none;
  background-image: var(--auth-bg-image, none);
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 768px) {
  .auth-bg {
    display: block;
    flex: 0 0 50%;
  }
}

.auth-brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 23px;
  text-align: center;
  letter-spacing: 7px;
  text-indent: 6px;
  text-transform: uppercase;
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-tabs {
  width: 100%;
  margin-bottom: 29px;
  border-bottom: 1px solid var(--auth-border, #d9d9d9);
}

.auth-tab {
  display: inline-block;
  margin-bottom: -1px;
  padding: 20px 15px 10px;
  cursor: pointer;
  border-bottom: 1px solid var(--auth-border, #E0E0E0);
  user-select: none;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-text-subtle, #9E9E9E);
  transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.auth-tab:hover {
  color: var(--color-link, #D81B60);
}
.auth-tab.active {
  color: var(--color-primary, #E53935);
  border-bottom-color: var(--color-primary, #E53935);
}

.auth-pane {
  display: none;
}

[data-active-tab=signin] .auth-pane--signin,
[data-active-tab=signup] .auth-pane--signup {
  display: block;
}

.auth-form {
  position: relative;
  padding-bottom: 8px;
}
.auth-form label {
  font-size: 12px;
  color: var(--auth-primary, #263238);
  user-select: none;
}
.auth-form label:not([for=remember]) {
  display: none;
}
.auth-form .inpt {
  font-size: 14px;
  display: block;
  width: 100%;
  height: 42px;
  margin-bottom: 12px;
  padding: 16px 13px;
  color: var(--color-text, #1A1A1A);
  border: 1px solid var(--auth-border, #E0E0E0);
  background: var(--color-surface, #fff);
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.auth-form .inpt::placeholder {
  font-size: 14px;
  color: var(--auth-placeholder, #9E9E9E);
}
.auth-form .inpt:focus {
  outline: none;
  border-color: var(--color-focus, #8E24AA);
  box-shadow: 0 0 0 3px var(--color-focus-shadow, rgba(142, 36, 170, 0.2));
}
.auth-form label:nth-of-type(1),
.auth-form .inpt:nth-of-type(1),
.auth-form .auth-more:nth-of-type(1) {
  animation: authSlideIn 0.4s cubic-bezier(0.37, 0.82, 0.2, 1) both;
}
.auth-form label:nth-of-type(2),
.auth-form .inpt:nth-of-type(2),
.auth-form .auth-more:nth-of-type(2) {
  animation: authSlideIn 0.5s cubic-bezier(0.37, 0.82, 0.2, 1) both;
}
.auth-form label:nth-of-type(3),
.auth-form .inpt:nth-of-type(3),
.auth-form .auth-more:nth-of-type(3) {
  animation: authSlideIn 0.6s cubic-bezier(0.37, 0.82, 0.2, 1) both;
}

.auth-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.auth-checkbox + label {
  display: inline-block;
  vertical-align: middle;
  width: 50%;
  cursor: pointer;
}
.auth-checkbox + label::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 13px;
  height: 13px;
  margin: -2px 8px 0 0;
  border: 1.5px solid var(--auth-border, #E0E0E0);
  border-radius: 3px;
  background-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.auth-checkbox:checked + label::before {
  background-color: var(--color-primary, #E53935);
  border-color: var(--color-primary, #E53935);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 9px 7px;
  background-repeat: no-repeat;
  background-position: center;
}
.auth-checkbox:focus-visible + label::before {
  outline: 2px solid var(--color-focus, #8E24AA);
  outline-offset: 2px;
}

.auth-submit {
  font-size: 12px;
  line-height: 42px;
  display: block;
  width: 100%;
  height: 42px;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  background-size: 200% 200%;
  background-position: left center;
  border-radius: 4px;
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(142, 36, 170, 0.25);
}
.auth-submit:hover {
  background-position: right center;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
}
.auth-submit:focus-visible {
  outline: 3px solid var(--color-focus, #8E24AA);
  outline-offset: 2px;
}

.auth-submit-wrap {
  width: 100%;
  margin-top: 12px;
}

.auth-more {
  font-size: 12px;
  display: block;
  margin-top: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--color-link, #D81B60);
}
.auth-more:hover {
  text-decoration: underline;
  color: var(--color-primary, #E53935);
}

.auth-field-error {
  display: block;
  margin-top: -8px;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--color-error-text, #c62828);
}

.auth-alert {
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 2px;
  font-size: 13px;
}
.auth-alert--success {
  background: var(--color-success-bg, #e8f5e9);
  border: 1px solid var(--color-success-border, #a5d6a7);
  color: var(--color-success-text, #2e7d32);
}
.auth-alert--warning {
  background: var(--color-warning-bg, #fff3e0);
  border: 1px solid var(--color-warning-border, #ffcc80);
  color: var(--color-warning-text, #e65100);
}
.auth-alert--error {
  background: var(--color-error-bg, #ffebee);
  border: 1px solid var(--color-error-border, #ef9a9a);
  color: var(--color-error-text, #c62828);
}
.auth-alert--info {
  background: var(--color-info-bg, #e3f2fd);
  border: 1px solid var(--color-info-border, #90caf9);
  color: var(--color-info-text, #1565c0);
}

@keyframes authSlideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
:root.locale-no-anim .locale-switch {
  animation: none;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  user-select: none;
  animation: localeSwitchIn 0.4s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@media (min-width: 768px) {
  .locale-switch {
    top: 16px;
    right: 16px;
    gap: 8px;
  }
}

.locale-switch__option {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--locale-label-inactive, #aaa);
  transition: color 0.2s ease;
  line-height: 1;
}
.locale-switch__option.active {
  color: var(--color-primary, #263238);
}
.locale-switch__option:hover:not(.active) {
  color: var(--color-text-muted, #666);
}

.locale-switch__track {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  border-radius: 11px;
  background: var(--locale-track-bg, rgba(38, 50, 56, 0.12));
  border: 1px solid var(--locale-track-border, rgba(38, 50, 56, 0.18));
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.locale-switch__track:hover {
  background: var(--locale-track-bg);
  filter: brightness(1.1);
}

.locale-switch__pill {
  position: absolute;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--locale-pill-bg, #263238);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  pointer-events: none;
}
.locale-switch__pill--pl {
  left: 2px;
}
.locale-switch__pill--en {
  left: 24px;
}

@keyframes localeSwitchIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.btn-primary-custom {
  background-color: var(--color-primary, #E53935);
  border-color: var(--color-primary, #E53935);
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary-custom:hover, .btn-primary-custom:focus {
  background-color: var(--color-primary-hover, #D32F2F);
  border-color: var(--color-primary-hover, #D32F2F);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
}

.btn-gradient {
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  background-size: 200% 200%;
  background-position: left center;
  border: none;
  color: #ffffff !important;
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(142, 36, 170, 0.25);
}
.btn-gradient:hover, .btn-gradient:focus {
  background-position: right center;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
}

.form-control-custom {
  border: 1px solid var(--color-border, #E0E0E0);
  background-color: var(--color-surface, #ffffff);
  color: var(--color-text, #1A1A1A);
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control-custom::placeholder {
  color: var(--color-text-subtle, #9E9E9E);
}
.form-control-custom:focus {
  border-color: var(--color-focus, #8E24AA);
  box-shadow: 0 0 0 3px var(--color-focus-shadow, rgba(142, 36, 170, 0.2));
  outline: none;
}

.form-label-custom {
  color: var(--auth-label, #333333);
  font-size: 13px;
  font-weight: 500;
}

[data-theme=dark] .form-control-custom,
[data-theme=dark] .form-select.form-control-custom {
  background-color: var(--color-surface-2, #2a2a2a);
  color: var(--color-text, #e8e8e8);
  border-color: var(--color-border, #333333);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .form-control-custom,
  :root:not([data-theme=light]) .form-select.form-control-custom {
    background-color: var(--color-surface-2, #2a2a2a);
    color: var(--color-text, #e8e8e8);
    border-color: var(--color-border, #333333);
    color-scheme: dark;
  }
}
.dashboard-navbar {
  background: var(--color-surface, #fff);
  border-bottom: 1px solid var(--color-border, #E0E0E0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.dashboard-navbar__brand {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dashboard-navbar__brand:hover {
  opacity: 0.85;
}
.dashboard-navbar__link {
  color: var(--color-text-muted, #666);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
}
.dashboard-navbar__link:hover, .dashboard-navbar__link:focus {
  color: var(--color-text, #1A1A1A);
  background: var(--color-surface-2, #f0f0f0);
}
.dashboard-navbar__link.active {
  color: var(--color-secondary, #8E24AA);
  font-weight: 600;
}
.dashboard-navbar__link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--color-secondary, #8E24AA);
}
.dashboard-navbar__toggler {
  border-color: var(--color-border, #E0E0E0);
}
.dashboard-navbar__toggler:focus {
  box-shadow: 0 0 0 3px var(--color-focus-shadow, rgba(142, 36, 170, 0.2));
}
.dashboard-navbar__locale {
  display: flex;
  align-items: center;
  margin-left: 16px;
}
.dashboard-navbar__locale .locale-switch {
  position: static;
  animation: none;
}
.dashboard-navbar__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border, #E0E0E0);
  background: transparent;
  color: var(--color-text-muted, #666);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dashboard-navbar__icon-btn:hover {
  background: var(--color-surface-2, #f0f0f0);
  color: var(--color-text, #1A1A1A);
}
.dashboard-navbar__icon-btn .icon-sun {
  display: none;
  color: #FFB300;
}
.dashboard-navbar__icon-btn .icon-moon {
  display: block;
  color: #7BA7D4;
}
.dashboard-navbar__divider {
  width: 1px;
  height: 24px;
  background: var(--color-border, #E0E0E0);
  margin: 0 8px;
  align-self: center;
}
.dashboard-navbar__user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text, #1A1A1A);
  transition: background 0.15s ease;
}
.dashboard-navbar__user-btn:hover {
  background: var(--color-surface-2, #f0f0f0);
}
.dashboard-navbar__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dashboard-navbar__username {
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-navbar__dropdown {
  min-width: 160px;
  border: 1px solid var(--color-border, #E0E0E0);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background: var(--color-surface, #fff);
}
.dashboard-navbar__dropdown .dropdown-item {
  font-size: 0.875rem;
  color: var(--color-text, #1A1A1A);
  padding: 0.5rem 1rem;
}
.dashboard-navbar__dropdown .dropdown-item:hover, .dashboard-navbar__dropdown .dropdown-item:focus {
  background: var(--color-surface-2, #f0f0f0);
  color: var(--color-text, #1A1A1A);
}
.dashboard-navbar__dropdown .dropdown-divider {
  border-color: var(--color-border, #E0E0E0);
}
.dashboard-navbar__dropdown-logout {
  color: var(--color-danger, #E53935) !important;
}

[data-theme=dark] .dashboard-navbar__icon-btn .icon-sun {
  display: block;
  color: #FFB300;
}
[data-theme=dark] .dashboard-navbar__icon-btn .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .dashboard-navbar__icon-btn .icon-sun {
    display: block;
    color: #FFB300;
  }
  :root:not([data-theme=light]) .dashboard-navbar__icon-btn .icon-moon {
    display: none;
  }
}
[data-theme=dark] .dashboard-navbar {
  background: var(--color-surface, #1e1e1e);
  border-bottom-color: var(--color-border, #333);
}
[data-theme=dark] .dashboard-navbar__link {
  color: var(--color-text-muted, #aaa);
}
[data-theme=dark] .dashboard-navbar__link:hover, [data-theme=dark] .dashboard-navbar__link:focus {
  color: var(--color-text, #e8e8e8);
  background: var(--color-surface-2, #2a2a2a);
}
[data-theme=dark] .dashboard-navbar__link.active {
  color: var(--color-secondary, #AB47BC);
}
[data-theme=dark] .dashboard-navbar__link.active::after {
  background: var(--color-secondary, #AB47BC);
}
[data-theme=dark] .dashboard-navbar__user-btn {
  color: var(--color-text, #e8e8e8);
}
[data-theme=dark] .dashboard-navbar__user-btn:hover {
  background: var(--color-surface-2, #2a2a2a);
}
[data-theme=dark] .dashboard-navbar__icon-btn {
  border-color: var(--color-border, #333);
  color: var(--color-text-muted, #aaa);
}
[data-theme=dark] .dashboard-navbar__icon-btn:hover {
  background: var(--color-surface-2, #2a2a2a);
  color: var(--color-text, #e8e8e8);
}
[data-theme=dark] .dashboard-navbar__divider {
  background: var(--color-border, #333);
}
[data-theme=dark] .dashboard-navbar__dropdown {
  background: var(--color-surface, #1e1e1e);
  border-color: var(--color-border, #333);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
[data-theme=dark] .dashboard-navbar__dropdown .dropdown-item {
  color: var(--color-text, #e8e8e8);
}
[data-theme=dark] .dashboard-navbar__dropdown .dropdown-item:hover, [data-theme=dark] .dashboard-navbar__dropdown .dropdown-item:focus {
  background: var(--color-surface-2, #2a2a2a);
  color: var(--color-text, #e8e8e8);
}
[data-theme=dark] .dashboard-navbar__dropdown .dropdown-divider {
  border-color: var(--color-border, #333);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .dashboard-navbar {
    background: var(--color-surface, #1e1e1e);
    border-bottom-color: var(--color-border, #333);
  }
  :root:not([data-theme=light]) .dashboard-navbar__link {
    color: var(--color-text-muted, #aaa);
  }
  :root:not([data-theme=light]) .dashboard-navbar__link:hover, :root:not([data-theme=light]) .dashboard-navbar__link:focus {
    color: var(--color-text, #e8e8e8);
    background: var(--color-surface-2, #2a2a2a);
  }
  :root:not([data-theme=light]) .dashboard-navbar__link.active {
    color: var(--color-secondary, #AB47BC);
  }
  :root:not([data-theme=light]) .dashboard-navbar__link.active::after {
    background: var(--color-secondary, #AB47BC);
  }
  :root:not([data-theme=light]) .dashboard-navbar__user-btn {
    color: var(--color-text, #e8e8e8);
  }
  :root:not([data-theme=light]) .dashboard-navbar__user-btn:hover {
    background: var(--color-surface-2, #2a2a2a);
  }
  :root:not([data-theme=light]) .dashboard-navbar__icon-btn {
    border-color: var(--color-border, #333);
    color: var(--color-text-muted, #aaa);
  }
  :root:not([data-theme=light]) .dashboard-navbar__icon-btn:hover {
    background: var(--color-surface-2, #2a2a2a);
    color: var(--color-text, #e8e8e8);
  }
  :root:not([data-theme=light]) .dashboard-navbar__divider {
    background: var(--color-border, #333);
  }
  :root:not([data-theme=light]) .dashboard-navbar__dropdown {
    background: var(--color-surface, #1e1e1e);
    border-color: var(--color-border, #333);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  }
  :root:not([data-theme=light]) .dashboard-navbar__dropdown .dropdown-item {
    color: var(--color-text, #e8e8e8);
  }
  :root:not([data-theme=light]) .dashboard-navbar__dropdown .dropdown-item:hover, :root:not([data-theme=light]) .dashboard-navbar__dropdown .dropdown-item:focus {
    background: var(--color-surface-2, #2a2a2a);
    color: var(--color-text, #e8e8e8);
  }
  :root:not([data-theme=light]) .dashboard-navbar__dropdown .dropdown-divider {
    border-color: var(--color-border, #333);
  }
}
.dashboard-main {
  min-height: calc(100vh - 60px);
  background: var(--color-bg, #F5F7FA);
  padding: 2rem 0 3rem;
}

.dashboard-alert {
  padding: 0.875rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.dashboard-alert--success {
  background: var(--color-success-bg, #e8f5e9);
  color: var(--color-success-text, #2e7d32);
  border: 1px solid var(--color-success-border, #a5d6a7);
}
.dashboard-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.dashboard-home {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}
.dashboard-home__card {
  background: var(--color-surface, #fff);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(142, 36, 170, 0.1);
  padding: 3.5rem 4rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.dashboard-home__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary, linear-gradient(135deg, #8E24AA, #D81B60, #FB8C00));
  margin-bottom: 1.5rem;
}
.dashboard-home__title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text, #1A1A1A);
}
.dashboard-home__greeting {
  margin: 0;
  color: var(--color-text-muted, #666);
  font-size: 1rem;
}

.profile-page {
  max-width: 800px;
  margin: 0 auto;
}
.profile-page__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text, #1A1A1A);
  margin-bottom: 2rem;
}

.profile-section {
  background: var(--color-surface, #fff);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.profile-section__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text, #1A1A1A);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border, #E0E0E0);
}
.profile-section__hint {
  font-size: 0.85rem;
  color: var(--color-text-muted, #666);
  margin-bottom: 1rem;
}
.profile-section__required-note {
  font-size: 0.8rem;
  color: var(--color-text-muted, #666);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.profile-field-error {
  font-size: 0.8rem;
  color: var(--color-danger, #E53935);
  margin-top: 0.25rem;
}

.profile-consents {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-consent {
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border, #E0E0E0);
  border-radius: 8px;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin: 0;
}
.profile-consent:has(.form-check-input:checked) {
  border-color: var(--color-secondary, #8E24AA);
  background: rgba(142, 36, 170, 0.03);
}
.profile-consent .form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.15em;
  border-color: var(--color-border, #E0E0E0);
  cursor: pointer;
  flex-shrink: 0;
}
.profile-consent .form-check-input:checked {
  background-color: var(--color-secondary, #8E24AA);
  border-color: var(--color-secondary, #8E24AA);
}
.profile-consent .form-check-input:focus {
  border-color: var(--color-secondary, #8E24AA);
  box-shadow: 0 0 0 3px var(--color-focus-shadow, rgba(142, 36, 170, 0.2));
}
.profile-consent__label {
  font-size: 0.875rem;
  color: var(--color-text, #1A1A1A);
  cursor: pointer;
  line-height: 1.5;
}
.profile-consent__required {
  color: var(--color-danger, #E53935);
  font-weight: 700;
  margin-left: 2px;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.profile-actions__submit {
  min-width: 160px;
}

/*# sourceMappingURL=app.output.css.map */
