/* Auth modal */
.re-ui-hidden {
  display: none !important;
}

.re-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.re-auth-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(107, 114, 128, 0.5);
}

.re-auth-modal__scroll {
  position: fixed;
  inset: 0;
  z-index: 51;
  overflow-y: auto;
}

.re-auth-modal__center {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.re-auth-modal__panel {
  position: relative;
  width: 100%;
  max-width: 36rem;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.re-auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 2rem;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
}

.re-auth-close:hover {
  background: #e2e8f0;
}

.re-auth-or {
  position: relative;
  margin-top: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.re-auth-or span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 0.5rem;
  border-radius: 9999px;
  background: #fff;
  color: #687387;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.re-auth-toggle-password {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #334155;
  cursor: pointer;
  padding: 0;
}

.re-auth-field-wrap {
  position: relative;
}

/* Dropdown menus */
.re-dropdown-panel {
  display: none;
  position: absolute;
  z-index: 30;
  margin-top: 0.25rem;
  min-width: 9rem;
  origin: top right;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  outline: none;
}

.re-dropdown-panel.re-dropdown-open {
  display: block;
}

.re-dropdown-panel--right {
  right: 0;
}

.re-dropdown-panel--wide {
  min-width: 14rem;
}

.re-dropdown-panel--user {
  min-width: 18rem;
}

.re-dropdown-panel--simple button {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.re-dropdown-panel--simple button:hover,
.re-dropdown-panel--simple button.re-dropdown-active {
  background: #f3f4f6;
  color: #111827;
}

.re-dropdown-panel--user a,
.re-dropdown-panel--user button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.re-dropdown-panel--user a:hover,
.re-dropdown-panel--user button:hover {
  color: var(--primary, #ee456b);
}

.re-dropdown-panel--user .currentColor {
  color: inherit;
  flex-shrink: 0;
}

.re-dropdown-panel--user svg {
  flex-shrink: 0;
}

.re-dropdown-panel .re-dropdown-divider {
  margin: 0.25rem 0;
  border-top: 1px solid #e5e7eb;
}
