/* Advanced Brazing Products — shared Odoo auth page styling (login, reset password, signup) */
header#top,
footer#bottom,
nav.navbar,
.o_footer_copyright,
.o_skip_to_content {
  display: none !important;
}

body,
#wrapwrap {
  background: #f0f3f7 !important;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif !important;
}

.oe_login_form.d-none {
  display: block !important;
}

.oe_website_login_container {
  background: #f0f3f7 !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

main {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2rem !important;
  min-height: 100vh !important;
}

.oe_login_form,
.oe_reset_password_form,
.oe_signup_form {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 40px !important;
  max-width: 460px;
  width: 100%;
  border: none !important;
  position: relative;
}

.oe_login_form::before,
.oe_reset_password_form::before,
.oe_signup_form::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #000000;
  width: calc(100% + 80px);
  margin-left: -40px;
  height: 120px;
}

.oe_login_form::after,
.oe_reset_password_form::after,
.oe_signup_form::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: url(/images/header-logo-nav.png) center 50% no-repeat;
  background-size: auto 70px;
  width: calc(100% + 80px);
  margin-left: -40px;
  height: 120px;
  pointer-events: none;
}

.oe_login_form .field-login:first-of-type,
.oe_reset_password_form .field-login:first-of-type,
.oe_reset_password_form .field-password:first-of-type,
.oe_signup_form .field-name:first-of-type {
  margin-top: 148px !important;
}

.oe_reset_password_form .alert:first-child,
.oe_login_form .alert:first-child,
.oe_signup_form .alert:first-child {
  margin-top: 148px !important;
}

.oe_login_form .field-login,
.oe_reset_password_form .field-login,
.oe_reset_password_form .field-password,
.oe_reset_password_form .field-confirm_password,
.oe_signup_form .field-login,
.oe_signup_form .field-name,
.oe_signup_form .field-password,
.oe_signup_form .field-confirm_password {
  margin-bottom: 16px !important;
  padding: 0 !important;
}

.oe_login_form .o_caps_lock_warning,
.oe_reset_password_form .o_caps_lock_warning,
.oe_signup_form .o_caps_lock_warning {
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.oe_login_form .o_caps_lock_warning .d-flex,
.oe_reset_password_form .o_caps_lock_warning .d-flex,
.oe_signup_form .o_caps_lock_warning .d-flex {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}

.oe_login_form .o_caps_lock_warning .input-group,
.oe_reset_password_form .o_caps_lock_warning .input-group,
.oe_reset_password_form .field-confirm_password .input-group,
.oe_signup_form .o_caps_lock_warning .input-group,
.oe_signup_form .field-confirm_password .input-group {
  display: flex !important;
  gap: 0 !important;
}

.oe_login_form label,
.oe_reset_password_form label,
.oe_signup_form label,
.oe_login_form .form-label,
.oe_reset_password_form .form-label,
.oe_signup_form .form-label,
.oe_login_form .col-form-label,
.oe_reset_password_form .col-form-label,
.oe_signup_form .col-form-label {
  color: #6b7280 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.oe_login_form .form-control,
.oe_reset_password_form .form-control,
.oe_signup_form .form-control {
  border: 1.5px solid #dde3ea !important;
  border-radius: 10px 0 0 10px !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  background: white !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.oe_login_form .field-login .form-control,
.oe_reset_password_form .field-login .form-control,
.oe_signup_form .field-login .form-control,
.oe_signup_form .field-name .form-control {
  border-radius: 10px !important;
}

.oe_login_form .form-control:focus,
.oe_reset_password_form .form-control:focus,
.oe_signup_form .form-control:focus {
  border-color: #1E6FD9 !important;
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.12) !important;
}

.oe_login_form .oe_login_buttons,
.oe_reset_password_form .oe_login_buttons,
.oe_signup_form .oe_login_buttons {
  padding: 24px 0 0 0 !important;
  text-align: center;
  display: block !important;
  margin-top: 12px !important;
}

.oe_login_form .oe_login_buttons .btn-primary,
.oe_reset_password_form .oe_login_buttons .btn-primary,
.oe_signup_form .oe_login_buttons .btn-primary,
.oe_login_form button.btn-primary,
.oe_reset_password_form button.btn-primary,
.oe_signup_form button.btn-primary {
  background: #1E6FD9 !important;
  border-color: #1E6FD9 !important;
  border-radius: 10px !important;
  padding: 13px 20px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  width: 100%;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: none;
}

.oe_login_form .oe_login_buttons .btn-primary:hover,
.oe_reset_password_form .oe_login_buttons .btn-primary:hover,
.oe_signup_form .oe_login_buttons .btn-primary:hover,
.oe_login_form button.btn-primary:hover,
.oe_reset_password_form button.btn-primary:hover,
.oe_signup_form button.btn-primary:hover {
  background: #F47B20 !important;
}

.oe_login_form .btn-link,
.oe_reset_password_form a,
.oe_signup_form .btn-link,
.oe_reset_password_form .oe_login_buttons a {
  color: #1E6FD9 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin-top: 12px !important;
  font-size: 13px;
  background: none;
  border: none;
}

.oe_login_form .btn-link:hover,
.oe_reset_password_form a:hover,
.oe_signup_form .btn-link:hover,
.oe_reset_password_form .oe_login_buttons a:hover {
  text-decoration: underline !important;
}

.o_show_password {
  cursor: pointer !important;
  background: white !important;
  border: 1.5px solid #dde3ea !important;
  border-left: none !important;
  padding: 11px 14px !important;
  border-radius: 0 10px 10px 0 !important;
  color: #6b7280 !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.o_show_password:hover {
  background: #f9fafb !important;
  color: #1E6FD9 !important;
}

.oe_login_form .o_login_footer,
.oe_reset_password_form .o_login_footer,
.oe_signup_form .o_login_footer {
  padding: 0 !important;
  text-align: center !important;
  border-top: none;
}

.oe_login_form .mb-3,
.oe_reset_password_form .mb-3,
.oe_signup_form .mb-3 {
  margin-bottom: 16px !important;
}

.oe_login_form .mb-1,
.oe_reset_password_form .mb-1,
.oe_signup_form .mb-1 {
  margin-bottom: 8px !important;
}

.oe_login_form .pt-3,
.oe_signup_form .pt-3 {
  padding-top: 0 !important;
}

.oe_signup_form .field-password.pt-2,
.oe_reset_password_form .field-password.pt-2 {
  padding-top: 0 !important;
}

.oe_login_form .alert,
.oe_reset_password_form .alert,
.oe_signup_form .alert {
  border-radius: 10px !important;
  font-size: 13px !important;
  margin-bottom: 16px !important;
  padding: 12px 14px !important;
}

.oe_reset_password_form .oe_login_buttons .small,
.oe_login_form .oe_login_buttons .small,
.oe_signup_form .oe_login_buttons .small {
  font-size: 13px !important;
  margin-top: 12px !important;
}

.oe_reset_password_form .oe_login_buttons .d-flex,
.oe_login_form .oe_login_buttons .d-flex,
.oe_signup_form .oe_login_buttons .d-flex {
  justify-content: center !important;
}
