/*
 * ============================================
 * UbahPulsa — Login Page Styles
 * Full-screen gradient login page
 * ============================================
 */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #2F2F2F 0%, #1A1A1A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 28px 40px;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.login-decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.login-decor--1 { width: 300px; height: 300px; top: -80px; right: -80px; }
.login-decor--2 { width: 200px; height: 200px; bottom: 120px; left: -60px; }
.login-decor--3 { width: 140px; height: 140px; top: 40%; right: -40px; background: rgba(255, 255, 255, 0.04); }

.login-header {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}

.login-back:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.92);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-logo-icon {
  width: 32px;
  height: 32px;
}

.login-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.login-body {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-wallet-img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.2));
  animation: float 4s ease-in-out infinite;
  margin-bottom: 28px;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  max-width: 280px;
}

.login-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.login-error {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fecaca;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.login-error i {
  color: #fca5a5;
  font-size: 1rem;
  flex-shrink: 0;
}

.btn-google {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.btn-google:active {
  transform: scale(0.98);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-icon {
  flex-shrink: 0;
}

.login-terms {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.6;
}

.login-terms a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
