/* ================================================================
   Login.css — Sign-in drawer styles
   All values use Momento design tokens from tokens.css
   ================================================================ */

.mud-drawer-container {
  width: 100%;
  padding: var(--space-3);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top:   1px solid var(--color-border-subtle);
  border-right: 1px solid var(--color-border-subtle);
  border-left:  1px solid var(--color-border-subtle);
  background: var(--color-drawer-bg);
}

/* Drawer title — heading level, uses Inter */
.mud-drawer-header-label {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-heading-md-size);
  font-weight: var(--fw-bold);
  line-height: var(--text-heading-md-lh);
  letter-spacing: -0.12px;
  text-align: start;
}

.mud-drawer-content {
  width: 100%;
  padding: var(--space-3);
  gap: var(--space-2);
}

.rounded-textfield .mud-input-outlined-border {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--color-text-primary);
}

.mud-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  min-height: unset !important;
}

/* Sub-label — body level, uses Helvetica Neue */
.mud-drawer-sub-label {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-label-md-size);
  font-weight: var(--fw-bold);
  line-height: var(--text-label-md-lh);
  text-align: start;
}

.mud-drawer-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  align-self: stretch;
}

/* Links */
.forgot-password-label {
  color: var(--color-brand-primary);
  font-family: var(--font-body);
  font-size: var(--text-link-md-size);
  font-weight: var(--fw-bold);
  line-height: var(--text-action-md-lh);
  text-decoration-line: underline;
  cursor: pointer;
}

.create-account-hyperlabel {
  color: var(--color-brand-primary);
  font-family: var(--font-body);
  font-size: var(--text-link-md-size);
  font-weight: var(--fw-bold);
  line-height: var(--text-action-md-lh);
  text-decoration-line: underline;
  cursor: pointer;
}
.already-have-account-hyperlabel {
  color: var(--color-brand-primary);
  font-family: var(--font-body);
  font-size: var(--text-link-md-size);
  font-weight: var(--fw-bold);
  line-height: var(--text-action-md-lh);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.create-account-hyperlabel-disbaled {
  pointer-events: none;
  user-select: none;
  color: darkgrey;
}

/* Error text */
.sign-in-error-text {
  color: var(--color-error);
  font-family: var(--font-body);
  font-size: var(--text-xs-size);
  font-weight: var(--fw-normal);
  line-height: var(--text-xs-lh);
  letter-spacing: 0.2px;
}

.sign-in-error-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
}

.right-text-align {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.mud-divider-light {
  opacity: 1;
}

/* Terms text */
.terms_text_cls {
  text-align: center;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-action-md-size);
  color: var(--color-text-primary);
  line-height: var(--text-action-md-lh);
  margin-top: var(--space-2);       /* was 12px — corrected to 16px */
}

.terms_text_cls .terms-link {
  color: var(--color-brand-primary);
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
