/* ═══════════════════════════════════════════════════════════════
   GLOWGOODLY LOGIN PAGE — FORCE FIX CSS
   Purpose: Ensure login page renders correctly even if
   some CSS chunks are missing
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── HEADER ─── */
header {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-main-shajgoj {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #0f172a;
  text-decoration: none;
}

/* ─── CATEGORY NAVBAR ─── */
.category-navbar-shajgoj {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e9ecef;
}

.category-links-shajgoj {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 10px 0;
  overflow: visible;
  flex-wrap: wrap;
  white-space: nowrap;
}

.category-links-shajgoj > a,
.category-links-shajgoj > .nav-item-with-menu > a {
  color: #1e293b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.category-links-shajgoj > a:hover,
.category-links-shajgoj > .nav-item-with-menu > a:hover {
  color: #e52860;
}

/* ─── MAIN LOGIN SECTION ─── */
main[style*="min-height"] {
  min-height: 80vh;
}

/* ─── LOGIN CARD FORCE ─── */
form {
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: all 0.2s;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
  border-color: #8b5cf6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

input::placeholder {
  color: #94a3b8;
}

/* ─── BUTTONS ─── */
button[type="submit"] {
  font-family: inherit;
  transition: all 0.2s ease;
}

button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

button[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait !important;
}

/* ─── LABELS ─── */
label {
  font-family: inherit;
}

/* ─── CARDS ─── */
div[style*="maxWidth: \"460px\""],
div[style*="max-width: 460px"] {
  max-width: 460px !important;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px 34px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ─── FOOTER ─── */
footer {
  background: #0c1524;
  color: #ffffff;
  padding: 50px 0 30px 0;
}

/* ─── MOBILE NAVBAR ─── */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    z-index: 900;
  }

  .mobile-header-bar {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-header-bar {
    display: none;
  }
}

/* ─── CLOUDFLARE TURNSTILE ─── */
.cf-turnstile {
  display: flex !important;
  justify-content: center;
  margin: 8px 0;
}

/* ─── SVG ─── */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ─── LINKS ─── */
a {
  color: inherit;
}

/* ─── NOTIFICATIONS ─── */
div[style*="borderLeft: \"4px solid"] {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── LOADING STATE ─── */
button[disabled] {
  cursor: not-allowed;
}

/* ─── HEADER SEARCH BAR ─── */
.search-bar-shajgoj {
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1.8px solid #e52860;
  overflow: hidden;
}

/* ─── HEADER ACTIONS ─── */
.header-actions-shajgoj {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login,
.btn-wishlist,
.btn-bag {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-login {
  background: #e52860;
  color: #ffffff;
}

.btn-wishlist {
  background: transparent;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

.btn-bag {
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── MOBILE LOGO ─── */
.mobile-logo-text {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: 1px;
}

.mobile-hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
  padding: 4px;
}
