




:root {
  --app-bar-height: 80px;
  --primary: #673ab7;
  --primary-light: #f3e5f5;
  --primary-dark: #311b92;
  --accent: #ffd740;
  --bg-color: #ffffff;

  --surface-color: #ffffff;
  --card-bg: #ffffff;
  --text-main: #212121;
  --text-primary: #673ab7;
  --text-muted: #757575;
  --error: #d32f2f;
  --shadow-elevation: 0 4px 12px rgba(103, 58, 183, 0.15);
  --shadow-card: 0 6px 16px rgba(0, 0, 0, 0.12);
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;

}

html {
  height: 100%;
  overflow: hidden;
}




html[data-theme="Dark"] {
  --bg-color: #121212;
  --surface-color: #1e1e1e;
  --card-bg: #1e1e1e;
  --text-main: #ffffff;
  --text-muted: #f1f1f1;
  --primary-light: #2a1b57;
  --primary: #8f63ff;
  --primary-dark: #6f46e6;
  --shadow-elevation: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 6px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="White"] {
  --bg-color: #ffffff;
  --surface-color: #ffffff;
  --card-bg: #ffffff;
  --text-main: #212121;
  --primary-light: #f3e5f5;
  --primary: #673ab7;
  --primary-dark: #311b92;
}


@media (prefers-color-scheme: dark) {
  html[data-theme="System"] {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --card-bg: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #f1f1f1;
    --primary-light: #2a1b57;
    --primary: #8f63ff;
    --primary-dark: #6f46e6;
  }
}


html[data-textSize="Small"] {
  font-size: 14px;
}

html[data-textSize="Medium"] {
  font-size: 16px;
}

html[data-textSize="Large"] {
  font-size: 18px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  background-color: var(--bg-color);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;

}


.dm-app-bar {
  height: var(--app-bar-height);
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  flex-shrink: 0;
}

.dm-app-bar__icon-btn {
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.dm-app-bar__icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dm-logo-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;
}

#navLogo {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  transform: scale(1.4) !important;
  background: transparent !important;
  display: block;
}


.dm-hex-bolt {
  width: 24px;
  height: 24px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dm-hex-bolt::after {
  content: '';
  width: 8px;
  height: 8px;
  background: grey;
  border-radius: 50%;
}


.dm-container {
  position: fixed;
  top: var(--app-bar-height);
  bottom: 0;
  left: 50%;
  width: min(500px, 100%);
  max-width: 500px;
  margin: 0;
  transform: translateX(-50%);
  padding: 24px;
  height: auto;
  overflow-y: auto;
  overflow-x: visible;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}


.dm-quote-card-container {
  position: relative;
  margin: 16px 0;
}

.dm-quote-card {
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(103, 58, 183, 0.1);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-quote-card__text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.dm-quote-card__bolt {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #2196f3;
  z-index: 10;
  transition: transform 0.2s;
}

.dm-quote-card__bolt:hover {
  transform: scale(1.1);
}


.dm-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
  transition: background 0.2s;
}

.dm-btn:hover {
  background: var(--primary-dark);
}

.dm-btn--secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.dm-btn--secondary:hover {
  background: var(--primary-light);
}


.dm-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-field label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dm-input {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.dm-input:focus {
  border-color: var(--primary);
}


.dm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dm-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.dm-bottom-sheet {
  position: fixed;
  width: min(500px, 100vw);
  left: 50%;
  bottom: 0;
  background: var(--surface-color);
  color: var(--text-main);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  min-height: 50vh;
  max-height: 90vh;
  z-index: 210;
  transform: translate(-50%, 100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.dm-bottom-sheet.is-active {
  transform: translate(-50%, 0);
}

.dm-bottom-sheet__handle {
  width: 40px;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin: -12px auto 24px;
}

.dm-bottom-sheet__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.dm-bottom-sheet__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.dm-bottom-sheet__close {
  line-height: 1;
  color: var(--text-muted);
}

.dm-bottom-sheet__content {
  flex: 1;
  overflow: hidden;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

html[data-theme="Dark"] .dm-bottom-sheet__close,
html[data-theme="System"] .dm-bottom-sheet__close {
  color: var(--text-main) !important;
}

html[data-theme="Dark"] #sheetTwoFactorPanel p,
html[data-theme="Dark"] #sheetPaypalPanel p,
html[data-theme="System"] #sheetTwoFactorPanel p,
html[data-theme="System"] #sheetPaypalPanel p {
  color: var(--text-main) !important;
}

.dm-sheet-panel {
  flex: 1;
  min-height: 0;
}

#sheetExplainPanel {
  display: flex;
  flex-direction: column;
}

#sheetExplainPanel #explanationContent {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 16px;
}

#sheetExplainPanel #explainDoneBtn {
  margin-top: auto;
  margin-bottom: 0;
}

#sheetTwoFactorPanel,
#sheetPaypalPanel {
  min-height: 100%;
  overflow-y: auto;
}


.dm-screen {
  display: none;
  background-color: var(--bg-color) !important;
}

.dm-screen.is-active {
  display: block;
}


.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-auto {
  margin-top: auto;
}

.web-only {
  display: none !important;
}


.dm-ad-container {
  margin-top: 24px;
  min-height: 100px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 12px;
}

.dm-ad-slot {
  width: 100%;
  margin-top: auto;
  padding: 24px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.dm-ad-slot .dm-ad-container {
  width: 100%;
  margin-top: 0 !important;
  min-height: 90px;
  padding: 0;
}

.dm-ad-container--webview-bottom {
  width: auto;
  max-width: 100vw;
  display: flex;
  justify-content: center;
}

.dm-ad-container--webview-bottom iframe {
  display: block;
  width: 728px !important;
  max-width: 100vw !important;
  height: 90px;
  border: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}


.dm-tile-group {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-inline: 4px;
}

.dm-tile {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dm-tile:hover {
  background: #f9f9f9;
}

.dm-tile__leading {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eee;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.dm-tile__leading.bg-blue {
  background: #2196f3;
}

.dm-tile__leading.bg-purple {
  background: #673ab7;
}

.dm-tile__leading.bg-orange {
  background: #ff9800;
}

.dm-tile__leading.bg-green {
  background: #4caf50;
}

.dm-tile__leading.bg-red {
  background: #f44336;
}

.dm-tile__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dm-tile__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.dm-tile__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dm-tile__trailing {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-divider {
  height: 1px;
  background: #eee;
  margin: 0 16px;
}


.dm-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
}

.dm-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: var(--shadow-elevation);
}

.dm-profile-header__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.dm-profile-header__id {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 12px;
  margin-top: 8px;
}


.dm-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  transition: background 0.3s;
  cursor: pointer;
}

.dm-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dm-switch.is-on {
  background: #2196f3;
}

.dm-switch.is-on::after {
  transform: translateX(20px);
}


.dm-section-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 16px 0 8px 16px;
}

.dm-section-header--primary {
  color: var(--primary);
  letter-spacing: 1.1px;
}


.dm-settings-list {
  margin-bottom: 4px;
}

.dm-list-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: none;
  border: none;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.dm-list-tile:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dm-list-tile__title {
  font-size: 1rem;
  color: var(--text-main);
}

.dm-list-tile__title--bold {
  font-weight: 700;
}

.dm-list-tile__trailing-text {
  font-size: 0.95rem;
  color: var(--text-main);
}

.dm-list-tile__pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.dm-check-icon {
  flex-shrink: 0;
}

.dm-check-icon.hidden {
  display: none !important;
}


.dm-time-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
  user-select: none;
}

.dm-time-picker__display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-time-picker__box {
  width: 96px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--primary);
  border: 2px solid transparent;
  cursor: pointer;
  outline: none;
  text-align: center;
}

.dm-time-picker__box.is-active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.dm-time-picker__separator {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-main);
  padding-bottom: 8px;
}

.dm-time-picker__ampm {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.dm-time-picker__ampm-btn {
  padding: 10px 16px;
  background: white;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.dm-time-picker__ampm-btn.is-active {
  background: var(--primary-light);
  color: var(--primary);
}

.dm-time-picker__ampm-btn:first-child {
  border-bottom: 1px solid #ddd;
}


.dm-time-wheel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 200px;
  position: relative;
  margin: 20px 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%, black 60%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 40%, black 60%, transparent);
}

.dm-time-wheel-column {
  flex: 1;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.dm-time-wheel-column::-webkit-scrollbar {
  display: none;

}

.dm-time-wheel-item {
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #666;
  scroll-snap-align: center;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
}

.dm-time-wheel-item.is-selected {
  color: var(--primary);
  font-weight: 700;
  transform: scale(1.1);
}

.dm-time-wheel-highlight {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--primary-light);
  border-radius: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
}

.dm-time-wheel-separator {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}


.dm-flutter-form {
  padding: 16px;
}

.dm-flutter-input {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.dm-flutter-input::placeholder {
  color: var(--text-muted);
  font-size: 1rem;
}

.dm-flutter-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #ede7f6;
  color: #673ab7;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.dm-flutter-btn:hover {
  background: #d1c4e9;
}

.dm-google-btn-screens {
  width: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}


.dm-google-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 20px;
  height: 40px;
  width: 100%;
  padding: 0 12px;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  box-sizing: border-box;
  margin-top: 0;
}


#goSignupBtn,
#profileSignUpBtn,
#loginForm .dm-flutter-btn,
#signupForm .dm-flutter-btn {
  margin-bottom: 16px;
}

.dm-google-btn:hover {
  background-color: #f7f8f8;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.dm-google-btn:active {
  background-color: #dfe1e5;
  box-shadow: none;
}

.dm-google-btn svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.dm-error-text {
  color: #f44336;
  font-size: 0.9rem;
  margin-bottom: 8px;
}



.dm-flutter-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

.dm-flutter-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dm-flutter-profile__name {
  font-size: 1.125rem;
  color: var(--text-main);
  margin: 0;
}

.dm-flutter-profile__id-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 4px;
  text-align: center;
  letter-spacing: 1px;
}

.dm-flutter-profile__id-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary);
  margin: 0;
  text-align: center;
  background: #f5f5f5;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: monospace;
}

.dm-flutter-profile__guest-text {
  font-size: 1.125rem;
  color: #9e9e9e;
  margin: 0;
}

html[data-theme="Dark"] .dm-list-tile:hover,
html[data-theme="System"] .dm-list-tile:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="Dark"] .dm-flutter-profile__guest-text,
html[data-theme="System"] .dm-flutter-profile__guest-text {
  color: var(--text-main);
}

html[data-theme="Dark"] .dm-flutter-profile__id-value {
  background: #2a2a2a;
  color: #ffffff;
}


html[data-theme="System"] .dm-flutter-profile__id-value {
  background: #ffffff;
  color: #000000;
}

html[data-theme="Dark"] .dm-quote-card__text {
  color: #ffffff;
}

html[data-theme="White"] .dm-quote-card__text,
html[data-theme="Light"] .dm-quote-card__text {
  color: var(--primary-dark);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="System"] .dm-quote-card__text {
    color: #ffffff;
  }
}

html[data-theme="Dark"] .dm-btn {
  background: var(--primary);
  color: #ffffff;
}

html[data-theme="Dark"] .dm-btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="System"] .dm-btn {
    background: var(--primary);
    color: #ffffff;
  }

  html[data-theme="System"] .dm-btn--secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.72);
  }
}

html,
body,
main,
section,
.dm-container,
.dm-screen,
.dm-flutter-form {
  background-color: var(--bg-color) !important;
  background: var(--bg-color) !important;
}


.dm-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
}

.dm-screen.is-active {
  display: flex;
}


#homeScreen {
  padding-left: 12px;
  padding-right: 12px;
}


.dm-saved-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dm-saved-shell {
  width: 100%;
  padding: 8px 12px 20px;
}

.dm-saved-title {
  margin: 4px 4px 12px;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
}

.dm-saved-tile {
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(103, 58, 183, 0.1);
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-saved-tile:hover {
  background-color: var(--primary-light);
}

.dm-saved-tile__text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  margin: 0;
}

.dm-empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 24px 16px;
}

.dm-saved-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 16px;
}

.dm-hidden-input {
  display: none;
}

.dm-flutter-avatar {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
  background: #eee;
  border: 1px solid #ddd;
}

.dm-flutter-avatar:active {
  transform: scale(0.95);
}

.dm-flutter-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.dm-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.dm-dialog-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.dm-dialog {
  background: #ffffff;
  color: #111111;
  border-radius: 28px;

  width: min(340px, 90vw);

  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: scale(0.9);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dm-dialog-overlay.is-active .dm-dialog {
  transform: scale(1);
}

.dm-dialog__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #111111;
  margin: 0 0 16px 0;
}

.dm-dialog__content {
  font-size: 0.95rem;
  color: #222222;
  line-height: 1.5;
  margin-bottom: 24px;
  white-space: pre-wrap;

}

.dm-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.dm-dialog__btn {
  background: none;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.dm-dialog__btn:hover {
  background: var(--primary-light);
}


.dm-date-picker {
  background: #ffffff;
  border-radius: 28px;
  width: 328px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: scale(0.9);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dm-dialog-overlay.is-active .dm-date-picker {
  transform: scale(1);
}

.dm-date-picker__header {
  background: var(--primary);
  color: #ffffff;
  padding: 16px 24px;
}

.dm-date-picker__year {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.dm-date-picker__date {
  font-size: 2rem;
  font-weight: 500;
}

.dm-date-picker__calendar-view {
  padding: 12px 12px 8px 12px;
}

.dm-date-picker__month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.dm-date-picker__month-controls {
  flex: 1;
  min-width: 0;
}

.dm-date-picker__current-month {
  font-size: 0.875rem;
  font-weight: 600;
  color: #444;
  text-align: center;
}

.dm-date-picker__selectors {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dm-date-picker__select {
  flex: 1;
  min-width: 0;
  border: 1px solid #d9d0ea;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 12px;
}

.dm-date-picker__select--year {
  max-width: 116px;
}

.dm-date-picker__nav-btn {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-date-picker__nav-btn:hover {
  background: #f0f0f0;
}

.dm-date-picker__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.dm-date-picker__weekdays span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #999;
}

.dm-date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dm-date-picker__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  color: #333;
}

.dm-date-picker__day:hover:not(.empty) {
  background: #f0f0f0;
}

.dm-date-picker__day.is-selected {
  background: var(--primary) !important;
  color: #ffffff !important;
}

.dm-date-picker__day.is-today {
  color: var(--primary);
  font-weight: 700;
  border: 1px solid var(--primary-light);
}

.dm-date-picker__day.empty {
  cursor: default;
}

.dm-date-picker__actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px 12px 12px;
  gap: 8px;
}

.dm-date-picker__btn {
  background: none;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
}

.dm-date-picker__btn:hover {
  background: var(--primary-light);
}


#signupForm {
  display: flex;
  flex-direction: column;
}

#signupForm .dm-flutter-btn {
  align-self: center;
  min-width: 160px;
}


input[type="date"].dm-flutter-input {
  position: relative;
}


input[type="date"].dm-flutter-input::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}


.dm-google-btn {
  background: #ffffff;
  color: #757575;
  border: 1px solid #dadce0;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  transition: background-color .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  margin: 0 auto;
}

.dm-google-btn svg {
  flex-shrink: 0;
}

.dm-google-btn:hover {
  background-color: #f8f9fa;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.dm-google-btn:active {
  background-color: #eeeeee;
}

@media (max-width: 520px) {
  .dm-google-btn {
    min-width: 280px;
    padding: 10px 18px;
    font-size: 0.95rem;
  }
}

.dm-apple-btn {
  background: #ffffff;
  color: #111111;
  border: 1px solid #d0d0d0;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
}

.dm-apple-btn:hover {
  opacity: 0.92;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.2);
}

.dm-apple-btn:active {
  transform: translateY(1px);
}

.dm-apple-btn__logo {
  font-size: 1.2rem;
  line-height: 1;
}
