/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
*/

.container-feedbacks {
  margin-botton: 10px;
}

/* ---------------------------------------------------------------------------
 * Force the accent to red across the login modal.
 * The platform injects its own styles with !important on the login form
 * controls, which is what kept the envelope icon and the OTP box borders
 * rendering in the old purple. These rules win regardless of specificity.
 * --------------------------------------------------------------------------- */

:root {
  --force-accent: #ff2626;
}

/* Every icon inside the login modal (envelope, padlock, arrows). */
#customer-login-modal svg,
#customer-login-modal svg * {
  color: var(--force-accent) !important;
  stroke: var(--force-accent) !important;
}

/* Icon tile behind the envelope. */
#customer-login-modal .clogin-icon {
  background: rgba(255, 38, 38, 0.14) !important;
  border: 1px solid rgba(255, 38, 38, 0.35) !important;
  color: var(--force-accent) !important;
  box-shadow: 0 0 18px rgba(255, 38, 38, 0.25);
}

/* Email field + the six one-time-code boxes. */
#customer-login-modal input,
#customer-login-modal input[type="email"],
#customer-login-modal input[inputmode="numeric"],
#customer-login-modal input[autocomplete="one-time-code"] {
  border-color: rgba(255, 38, 38, 0.35) !important;
}

#customer-login-modal input:focus,
#customer-login-modal input:focus-visible,
#customer-login-modal input[type="email"]:focus,
#customer-login-modal input[inputmode="numeric"]:focus,
#customer-login-modal input[autocomplete="one-time-code"]:focus {
  border-color: var(--force-accent) !important;
  background: rgba(255, 38, 38, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(255, 38, 38, 0.2) !important;
  outline: none !important;
}

/* The Continue / Log In button. */
#customer-login-modal button[type="submit"] {
  background: var(--force-accent) !important;
  color: #ffffff !important;
}
