/* 6Ponds login, register & password recovery — scoped to auth pages only */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --sixp-brand: #3b49df;
  --sixp-brand-dark: #2f3ab2;
  --sixp-brand-soft: rgba(59, 73, 223, 0.1);
  --sixp-bg: #f4f6fb;
  --sixp-card: #ffffff;
  --sixp-border: #e4e7ec;
  --sixp-text: #111827;
  --sixp-muted: #6b7280;
  --sixp-radius-lg: 16px;
  --sixp-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
}

body#user-login.sixp-auth-ui,
body#body-user-register.sixp-auth-ui,
body#user-recover.sixp-auth-ui,
body#user-login.sixp-auth-ui.dark,
body#body-user-register.sixp-auth-ui.dark,
body#user-recover.sixp-auth-ui.dark,
body.dark#user-login.sixp-auth-ui,
body.dark#body-user-register.sixp-auth-ui,
body.dark#user-recover.sixp-auth-ui {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color-scheme: light only;
  background: var(--sixp-bg) !important;
  color: var(--sixp-text) !important;
}

body#user-login.sixp-auth-ui .content,
body#body-user-register.sixp-auth-ui .content,
body#user-recover.sixp-auth-ui .content {
  background: transparent;
}

body#user-login.sixp-auth-ui .container,
body#body-user-register.sixp-auth-ui .container,
body#user-recover.sixp-auth-ui .container {
  padding: 32px 16px 48px;
}

body#user-login.sixp-auth-ui .container > .box,
body#body-user-register.sixp-auth-ui .container > .box,
body#user-recover.sixp-auth-ui .container > .box {
  max-width: 440px;
  margin: 0 auto;
  background: var(--sixp-card);
  border: 1px solid var(--sixp-border);
  border-radius: var(--sixp-radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--sixp-shadow-md);
}

body#user-login.sixp-auth-ui .container > .box h1,
body#body-user-register.sixp-auth-ui .container > .box h1,
body#user-recover.sixp-auth-ui .container > .box h1 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
  color: var(--sixp-text);
}

body#user-login.sixp-auth-ui .social,
body#body-user-register.sixp-auth-ui .social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

body#user-login.sixp-auth-ui .social a,
body#body-user-register.sixp-auth-ui .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--sixp-border);
  background: #fafbfc;
  color: var(--sixp-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body#user-login.sixp-auth-ui .social a:hover,
body#body-user-register.sixp-auth-ui .social a:hover {
  border-color: rgba(59, 73, 223, 0.35);
  background: var(--sixp-brand-soft);
}

body#user-login.sixp-auth-ui .alt-action,
body#body-user-register.sixp-auth-ui .alt-action,
body#user-recover.sixp-auth-ui .alt-action {
  display: block;
  text-align: center;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sixp-brand);
  text-decoration: none;
}

body#user-login.sixp-auth-ui .alt-action:hover,
body#body-user-register.sixp-auth-ui .alt-action:hover,
body#user-recover.sixp-auth-ui .alt-action:hover {
  color: var(--sixp-brand-dark);
}

body#user-login.sixp-auth-ui .row,
body#body-user-register.sixp-auth-ui .row,
body#user-recover.sixp-auth-ui .row {
  margin-bottom: 14px;
}

body#user-login.sixp-auth-ui label,
body#body-user-register.sixp-auth-ui label,
body#user-recover.sixp-auth-ui label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sixp-muted);
}

body#user-login.sixp-auth-ui .req,
body#body-user-register.sixp-auth-ui .req {
  color: #e11d48;
}

body#user-login.sixp-auth-ui .input-box,
body#body-user-register.sixp-auth-ui .input-box,
body#user-recover.sixp-auth-ui .input-box {
  position: relative;
}

body#user-login.sixp-auth-ui input[type="text"],
body#user-login.sixp-auth-ui input[type="email"],
body#user-login.sixp-auth-ui input[type="password"],
body#user-login.sixp-auth-ui input[type="tel"],
body#body-user-register.sixp-auth-ui input[type="text"],
body#body-user-register.sixp-auth-ui input[type="email"],
body#body-user-register.sixp-auth-ui input[type="password"],
body#body-user-register.sixp-auth-ui input[type="tel"],
body#user-recover.sixp-auth-ui input[type="text"],
body#user-recover.sixp-auth-ui input[type="email"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--sixp-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fafbfc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body#user-login.sixp-auth-ui input:focus,
body#body-user-register.sixp-auth-ui input:focus,
body#user-recover.sixp-auth-ui input:focus {
  outline: none;
  border-color: var(--sixp-brand);
  box-shadow: 0 0 0 3px rgba(59, 73, 223, 0.12);
  background: #fff;
}

body#user-login.sixp-auth-ui .toggle-pass,
body#body-user-register.sixp-auth-ui .toggle-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sixp-muted);
}

body#user-login.sixp-auth-ui .input-box-check,
body#body-user-register.sixp-auth-ui .input-box-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
  font-size: 14px;
  color: var(--sixp-muted);
}

body#user-login.sixp-auth-ui .btn[type="submit"],
body#body-user-register.sixp-auth-ui .btn[type="submit"],
body#user-recover.sixp-auth-ui .btn[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  background: var(--sixp-brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(59, 73, 223, 0.28);
  cursor: pointer;
  transition: background 0.15s ease;
}

body#user-login.sixp-auth-ui .btn[type="submit"]:hover,
body#body-user-register.sixp-auth-ui .btn[type="submit"]:hover {
  background: var(--sixp-brand-dark);
}

body#user-login.sixp-auth-ui .alt-action2,
body#user-recover.sixp-auth-ui .alt-action2 {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sixp-brand);
  text-decoration: none;
}

body#user-recover.sixp-auth-ui .alt-action2:hover {
  color: var(--sixp-brand-dark);
}

body#user-login.sixp-auth-ui #error_list,
body#body-user-register.sixp-auth-ui #error_list,
body#user-recover.sixp-auth-ui #error_list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

body#user-login.sixp-auth-ui #error_list li,
body#body-user-register.sixp-auth-ui #error_list li,
body#user-recover.sixp-auth-ui #error_list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  body#user-login.sixp-auth-ui .container > .box,
  body#body-user-register.sixp-auth-ui .container > .box,
body#user-recover.sixp-auth-ui .container > .box {
    padding: 24px 18px 22px;
  }
}