﻿/* Login Page - BGVIP01 */
:root {
  --login-gold: var(--primary);
  --login-bg: var(--background);
  --login-card: var(--card);
  --login-text: var(--foreground);
  --login-muted: var(--muted-foreground);
  --login-border: var(--border);
}


.login-container-main {
  background-image: var(--login-bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  min-height: calc(100vh - var(--site-header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 60px;
}

.login-form-container.login-card {
  width: min(420px, 94vw);
  background: linear-gradient(180deg, #2d2d2db8 0%, #0c0c0c99 100%);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 18px 40px #000000a6;
  padding: 28px 24px 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.login-form-container.login-card::before {
  content: '';
  position: absolute;
  inset: -60% -20% auto;
  height: 160px;
  background: radial-gradient(circle, #e7b73c33 0%, transparent 70%);
  pointer-events: none;
}

.login-form-container.login-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #fcebb6e6 0%, #d4af37cc 50%, #b3841be6 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.login-title {
  margin: 4px 0 10px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff; /* Fallback */
  background: linear-gradient(180deg, #fcebb6 0%, #d4af37 45%, #fcebb6 60%, #9c6d0f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}

.login-icon {
  display: block;
  margin: 0 auto 10px;
  max-width: 170px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px #0000008c);
}

.login-body {
  margin-top: 4px;
}

.login-subtitle {
  display: block;
  text-align: center;
  color: var(--login-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.theme-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-field {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff14;
  background: #111111;
  border-radius: 10px;
  padding: 8px 10px;
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field:focus-within {
  border-color: #e7b73c99;
  box-shadow: 0 0 0 2px #e7b73c26;
}

.login-field__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #fcebb6 0%, #d4af37 50%, #b3841b 100%);
  color: #141414;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px #00000033;
}

.login-field__icon i {
  font-size: 1.1rem;
  line-height: 1;
}

.login-input {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  outline: none;
  color: var(--login-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
}

.login-input::placeholder {
  color: #ffffff73;
}

.login-submit {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #111111;
  background: linear-gradient(180deg, #fcebb6 0%, #d4af37 50%, #b3841b 100%);
  cursor: pointer;
  box-shadow: 0 10px 22px #00000073;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px #0000008c;
}

.login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  filter: grayscale(0.2);
}

.login-submit__loading,
.login-submit__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #00000033;
  border-top-color: #000000b3;
  animation: login-spin 0.9s linear infinite;
  display: inline-block;
}

@keyframes login-spin {
  to { transform: rotate(360deg); }
}

.login-footer {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.login-footer-contact {
  color: var(--login-muted);
  font-size: 0.85rem;
}

.login-link {
  color: #fcebb6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: #ffd35a;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .login-form-container.login-card {
    padding: 22px 18px 20px;
    border-radius: 14px;
  }

  .login-title {
    font-size: 1.1rem;
  }

  .login-icon {
    max-width: 140px;
    height: 40px;
  }

  .login-input {
    font-size: 0.9rem;
  }

  .login-submit {
    font-size: 0.9rem;
    padding: 11px 12px;
  }
}
:root {
  --login-bg-image: url('/assets/img/bgvip01_bg2.png');
}




