/* Auth modal */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(52, 52, 52, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.auth-modal-overlay.open {
  display: flex;
}
.auth-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  font-family: Lato, sans-serif;
}
.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #343434;
}
.auth-modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #b90233;
  background: #fff;
  color: #b90233;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.auth-tab-btn.active {
  background: #b90233;
  color: #fff;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form[hidden] {
  display: none;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #343434;
  font-weight: 700;
}
.auth-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  font-size: 15px;
  font-family: inherit;
}
.auth-submit-btn {
  margin-top: 6px;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: #b90233;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.auth-error {
  color: #b90233;
  font-size: 13px;
  margin: 0;
  min-height: 16px;
}
.auth-success {
  color: #1c7a34;
  font-size: 13px;
  margin: 0;
}
.header-user-wrapper,
.context-user-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-user-name,
.context-user-name {
  font-family: Lato, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #343434;
}
.header-logout-btn,
.context-logout-btn {
  font-family: Lato, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #b90233;
  background: none;
  border: 1px solid #b90233;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
