﻿/* Same visual structure as admin login (scoped to store auth pages) */
body.store-auth-screen .header.header--pro,
body.store-auth-screen .hero,
body.store-auth-screen .footer.footer--pro,
body.store-auth-screen #preloder,
body.store-auth-screen .humberger__menu__overlay,
body.store-auth-screen .humberger__menu__wrapper {
  display: none !important;
}

body.store-auth-screen .login-page {
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: block;
  padding: 0;
  background: var(--xp-login-gradient, linear-gradient(135deg, #ff5623 0%, #ff8e24 80%)) !important;
}

body.store-auth-screen .login-page > .section {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.store-auth-screen .large-header {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

body.store-auth-screen #demo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 78%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 41% 28%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 69% 66%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 20%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 88%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px);
}

body.store-auth-screen .login-form {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  top: 60%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

body.store-auth-screen .login-form input[type="text"],
body.store-auth-screen .login-form input[type="email"],
body.store-auth-screen .login-form input[type="password"],
body.store-auth-screen .login-form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 30px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

body.store-auth-screen .login-form button {
  background-color: #353c48;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
  border: 0;
}

body.store-auth-screen .login-form button:hover {
  background-color: #1b1c1f;
}

body.store-auth-screen .logo-container {
  perspective: 1000px;
}

body.store-auth-screen .logo {
  position: absolute;
  top: -175px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 130px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  animation: swing 10s ease-in-out infinite;
  backface-visibility: hidden;
}

body.store-auth-screen .login-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

body.store-auth-screen .tagline {
  text-align: center;
  font-size: 10px;
  color: #777;
  margin-top: 6px;
  margin-bottom: 0;
}

body.store-auth-screen .password-container,
body.store-auth-screen .store-auth-password {
  position: relative;
}

body.store-auth-screen .password-toggle,
body.store-auth-screen .store-auth-pass-toggle {
  position: absolute;
  right: 10px;
  top: 30%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 1.2em;
  color: #cafcca;
  border: 0;
  background: transparent;
  padding: 0;
}

body.store-auth-screen .store-auth-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: -16px;
  margin-bottom: 10px;
}

body.store-auth-screen .store-auth-link {
  border: 0;
  background: transparent;
  color: #4f5a64;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

body.store-auth-screen .store-auth-link:hover {
  color: #1b1c1f;
}

body.store-auth-screen .store-auth-modal {
  border-radius: 10px;
  border: 0;
  background: #f5eee6;
}

body.store-auth-screen .store-auth-modal .modal-header {
  border-bottom: 1px solid #ddd4cc;
}

body.store-auth-screen .store-auth-modal .modal-title {
  color: #5f6a72;
  font-weight: 700;
}

body.store-auth-screen .store-auth-modal .modal-body {
  padding-top: 18px;
}

body.store-auth-screen .store-auth-input,
body.store-auth-screen .store-auth-modal select {
  width: 100%;
  height: 44px;
  border: 1px solid #bcc3c9;
  border-radius: 5px;
  padding: 0 12px;
  margin-bottom: 12px;
  background: #f5f7f9;
}

body.store-auth-screen .store-auth-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: #353c48;
  color: #fff;
  font-weight: 700;
}

body.store-auth-screen .store-auth-btn:hover {
  background: #1b1c1f;
}

@media screen and (max-width: 768px) {
  body.store-auth-screen .login-page {
    width: 100%;
    min-height: 100vh;
    display: block;
    padding: 0;
    background: var(--xp-login-gradient, linear-gradient(135deg, #ff5623 0%, #ff8e24 80%)) !important;
  }

  body.store-auth-screen .login-form {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 80%;
    top: 58%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
  }

  body.store-auth-screen .logo {
    width: 110px;
    height: 110px;
    top: -145px;
  }

  body.store-auth-screen .login-form h2 {
    margin-bottom: 30px;
  }

  body.store-auth-screen .store-auth-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
