* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #faf9f7;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: #c44536;
}
header[ceots__gifts="header"] {
  background: #fff;
  border-bottom: 1px solid #c2c2c2;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
a[ceots__gifts="logo"] {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}
div[ceots__gifts="container"] {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.card {
  background: #fff;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
  border-top-left-radius: 4px;
  border-right: 1px solid #c2c2c2;
  border-bottom: 1px solid #c2c2c2;
  border-bottom-right-radius: 4px;
  box-shadow: 4px 4px 0px 0px #e8a49c;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}
h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
}
.form_group {
  margin-bottom: 1rem;
}
label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.85rem;
}
input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #c2c2c2;
  border-radius: 2px;
  font-size: 1rem;
}
input:focus {
  outline: none;
  border-color: #c44536;
}
input.readonly {
  background: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}
.password_wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password_wrapper input {
  padding-right: 5rem;
}
.password_wrapper .toggle_password {
  position: absolute;
  right: 0.5rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  box-shadow: 1px 1px 0px 0px #e8a49c;
}
.password_wrapper .toggle_password:hover {
  box-shadow: 2px 2px 0px 0px #e8a49c;
  transform: translateY(-1px);
}
.btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #c44536;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
}
.btn:hover {
  background: #d4645a;
}
.btn_primary {
  background: #c44536;
}
.btn_secondary {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  box-shadow: 2px 2px 0px 0px #e8a49c;
  text-decoration: none;
  text-align: center;
}
.btn_secondary:hover {
  background: #f8f8f8;
  box-shadow: 3px 3px 0px 0px #e8a49c;
}
.error {
  background: #fee;
  border: 1px solid #c00;
  color: #c00;
  padding: 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.success {
  background: #efe;
  border: 1px solid #0a0;
  color: #060;
  padding: 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}
.links a {
  color: #c44536;
  margin-left: 0.25rem;
}
.links a.btn {
  margin-left: 0;
  color: #000;
}
.separator {
  margin: 0 0.5rem;
  color: #ccc;
}
.auth_buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.auth_buttons .btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
}
.auth_buttons .btn_primary {
  background: #c44536;
  color: #fff;
}
.group_preview {
  display: none;
  background: #f8f8f8;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.group_preview .group_icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.group_preview .group_name {
  font-size: 0.9rem;
  color: #666;
}
.group_preview .group_name strong {
  color: #000;
  display: block;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}
.invite_details {
  margin-bottom: 1rem;
}
.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
#error-message {
  display: none;
  margin-bottom: 1rem;
}
