/* ===== NOVO-DAON Luxury 3D Login ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

body.login-luxury-page {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

.login-overlay.login-luxury {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  perspective: 1600px;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(212, 175, 55, 0.22), transparent 58%),
    radial-gradient(ellipse 60% 45% at 10% 90%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 20%, rgba(56, 132, 196, 0.16), transparent 50%),
    linear-gradient(165deg, #020617 0%, #071428 32%, #0c2340 58%, #040b14 100%) !important;
  overflow: hidden;
}

.login-overlay.login-luxury::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  top: -140px;
  left: -100px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.32);
  filter: blur(90px);
  animation: luxuryOrb 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.login-overlay.login-luxury::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  border-radius: 0;
  filter: none;
  animation: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(147, 197, 253, 0.04) 40px 41px),
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(56, 132, 196, 0.18), transparent 70%);
  pointer-events: none;
}

@keyframes luxuryOrb {
  from { transform: translate(0, 0) scale(1); opacity: 0.75; }
  to { transform: translate(30px, 20px) scale(1.08); opacity: 1; }
}

.login-luxury-grid {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 620px;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-6px) rotateX(0.4deg); }
}

.login-luxury-header {
  text-align: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.login-luxury-logo-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8e7 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateZ(24px);
}

.login-luxury-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.login-luxury-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4af37;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.login-luxury-title {
  margin: 14px 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #e8eef5 45%, #c9a84c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.login-luxury-subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(226, 236, 248, 0.72);
  letter-spacing: 0.06em;
}

.login-card.login-luxury-card {
  width: 100% !important;
  margin: 0;
  padding: 28px 28px 24px !important;
  border-radius: 28px !important;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(12px);
  background:
    linear-gradient(165deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.05) 55%, rgba(15, 23, 42, 0.12) 100%) !important;
  backdrop-filter: blur(32px) saturate(170%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(212, 175, 55, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(255, 248, 220, 0.42) inset,
    0 -28px 52px rgba(0, 0, 0, 0.08) inset !important;
}

.login-card.login-luxury-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.55), rgba(255, 255, 255, 0.08) 35%, rgba(56, 132, 196, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.login-card.login-luxury-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  pointer-events: none;
}

.login-luxury .login-role-cards {
  gap: 18px !important;
  margin: 0 0 22px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.login-luxury button.login-role-card {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  width: 100%;
  display: flex;
  margin: 0;
}

.login-luxury button.login-role-card:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.9);
  outline-offset: 4px;
}

.login-luxury .login-role-card {
  min-height: 118px !important;
  padding: 18px 20px !important;
  border-radius: 24px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 16px !important;
  cursor: pointer;
  transform-style: preserve-3d;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  overflow: visible !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(15, 23, 42, 0.18) 100%) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.32),
    0 8px 16px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -10px 24px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.login-luxury .login-role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), transparent 42%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.login-luxury .login-role-card::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -14px;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.login-luxury .login-role-card:hover {
  transform: translateY(-8px) rotateX(5deg) scale(1.02) !important;
  border-color: rgba(212, 175, 55, 0.48) !important;
  box-shadow:
    0 28px 54px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.login-luxury .login-role-card.novo {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(14, 116, 144, 0.22) 100%) !important;
}

.login-luxury .login-role-card.daon {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(37, 99, 235, 0.28) 100%) !important;
}

.login-luxury .login-role-card.active {
  transform: translateY(-10px) rotateX(7deg) scale(1.035) !important;
  border-color: rgba(212, 175, 55, 0.72) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.45),
    0 0 36px rgba(212, 175, 55, 0.2),
    0 32px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 28px rgba(0, 0, 0, 0.18) !important;
}

.login-luxury .login-role-card.novo.active {
  background:
    linear-gradient(145deg, rgba(255, 248, 220, 0.12) 0%, #0c4a6e 18%, #0e7490 55%, #0891b2 100%) !important;
}

.login-luxury .login-role-card.daon.active {
  background:
    linear-gradient(145deg, rgba(255, 248, 220, 0.1) 0%, #1e3a5f 20%, #1d4ed8 52%, #2563eb 100%) !important;
}

.login-luxury .login-role-icon {
  width: 72px !important;
  height: 72px !important;
  flex: 0 0 72px !important;
  flex-basis: 72px !important;
  border-radius: 18px !important;
  padding: 0 !important;
  transform: translateZ(22px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.82)) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.28) !important;
}

.login-luxury .login-role-emoji {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  transform: translateZ(8px);
}

.login-luxury .login-role-icon img {
  display: none !important;
}

.login-luxury .login-role-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 4px;
  pointer-events: none;
  flex: 1;
  min-width: 0;
}

.login-luxury .login-role-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  transform: translateZ(14px);
  color: #fff8e7 !important;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(212, 175, 55, 0.18) !important;
}

.login-luxury .login-role-sub {
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  transform: translateZ(8px);
  color: rgba(255, 236, 179, 0.82) !important;
  font-weight: 700 !important;
}

.login-luxury .login-role-card.active .login-role-title {
  background: linear-gradient(135deg, #fff 0%, #fff8e7 40%, #f5e6b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.login-luxury .login-role-card.active .login-role-icon {
  border-color: rgba(245, 230, 184, 0.75) !important;
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.28),
    inset 0 1px 0 rgba(255, 248, 220, 0.35),
    0 10px 22px rgba(0, 0, 0, 0.32) !important;
}

.login-luxury .login-role-card:hover .login-role-emoji {
  transform: translateZ(12px) scale(1.06);
}

.login-luxury .login-selected-badge {
  display: none;
  top: 10px !important;
  right: 10px !important;
  padding: 5px 10px !important;
  font-size: 8.5px !important;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, #f5e6b8, #d4af37) !important;
  color: #1a2744 !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  transform: translateZ(20px);
  pointer-events: none;
}

.login-luxury .login-role-card.active .login-selected-badge {
  display: inline-flex !important;
}

.login-luxury .login-fields {
  position: relative;
  z-index: 2;
  padding-top: 4px;
}

.login-luxury .login-card label {
  margin: 12px 0 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 230, 184, 0.92) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.login-luxury .login-card input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow:
    inset 0 2px 6px rgba(15, 23, 42, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.12) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.login-luxury .login-card input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65) !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 6px rgba(15, 23, 42, 0.06),
    0 0 0 3px rgba(212, 175, 55, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

.login-luxury .login-card input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.login-luxury .login-submit {
  position: relative;
  overflow: hidden;
  margin-top: 20px !important;
  border-radius: 16px !important;
  padding: 15px 18px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a2744 !important;
  border: 1px solid rgba(255, 248, 220, 0.55) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%),
    linear-gradient(135deg, #f8ecc8 0%, #e8c547 22%, #d4af37 48%, #b8860b 72%, #8b6914 100%) !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -5px 14px rgba(139, 105, 20, 0.35) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  transform: translateZ(8px);
}

.login-luxury .login-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: btnShine 4.5s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 70% { left: -120%; }
  100% { left: 140%; }
}

.login-luxury .login-submit:hover {
  transform: translateY(-4px) translateZ(12px) !important;
  filter: brightness(1.05);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(212, 175, 55, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.login-luxury .login-submit:active {
  transform: translateY(0) !important;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.28),
    inset 0 3px 8px rgba(0, 0, 0, 0.18) !important;
}

.login-luxury.login-theme-daon .login-submit {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, transparent 42%),
    linear-gradient(135deg, #f8ecc8 0%, #e8c547 18%, #d4af37 42%, #2563eb 78%, #1d4ed8 100%) !important;
  color: #0f172a !important;
}

.login-luxury .login-error {
  margin-top: 14px !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.95), rgba(254, 202, 202, 0.9)) !important;
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow: 0 8px 20px rgba(127, 29, 29, 0.12);
}

.login-luxury .login-footer-note {
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(203, 213, 225, 0.75) !important;
}

.login-luxury .login-footer-note .year {
  color: rgba(212, 175, 55, 0.92) !important;
  font-size: 11px !important;
  letter-spacing: 0.18em;
}

.login-luxury .login-footer-note .designer {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.login-luxury-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  opacity: 0.7;
}

@media (max-width: 600px) {
  .login-overlay.login-luxury {
    align-items: flex-start !important;
    padding: 16px !important;
  }

  .login-luxury-grid {
    animation: none;
  }

  .login-card.login-luxury-card {
    padding: 20px 18px !important;
    border-radius: 22px !important;
  }

  .login-luxury .login-role-cards {
    grid-template-columns: 1fr !important;
  }

  .login-luxury .login-role-card {
    min-height: 108px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 14px !important;
  }

  .login-luxury .login-role-text {
    align-items: flex-start !important;
  }

  .login-luxury .login-role-icon {
    width: 84px !important;
    height: 84px !important;
    flex: 0 0 84px !important;
    flex-basis: 84px !important;
    padding: 6px !important;
  }

  .login-luxury .login-role-card:hover,
  .login-luxury .login-role-card.active {
    transform: translateY(-4px) scale(1.01) !important;
  }

  .login-luxury-title {
    font-size: 26px;
  }
}

.login-luxury .login-role-card > .login-role-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .login-luxury-grid,
  .login-overlay.login-luxury::before,
  .login-overlay.login-luxury::after,
  .login-luxury .login-submit::before {
    animation: none !important;
  }

  .login-luxury .login-role-card,
  .login-luxury .login-submit,
  .login-luxury .login-card input {
    transition: none !important;
  }
}
