/* ════════════════════════════════════════════════════════════════════════════
   LOGIN PAGE STYLES
   ════════════════════════════════════════════════════════════════════════════ */

.login-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  background: #151515;
  border: 2px solid #d4af37;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
  animation: fadeIn 0.5s;
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo h1 {
  color: #d4af37;
  font-size: 36px;
  margin-bottom: 10px;
}

.login-logo p {
  color: #888;
  font-size: 14px;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-group label {
  display: block;
  color: #d4af37;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: bold;
}

.login-form .form-group input {
  width: 100%;
  padding: 14px;
  background: #000;
  border: 1px solid #444;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  transition: 0.3s;
  box-sizing: border-box;
}

.login-form .form-group input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 20px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-divider {
  text-align: center;
  color: #888;
  margin: 20px 0;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #444;
}

.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #000;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.social-btn:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
}

.social-btn.google { border-color: #4285f4; }
.social-btn.facebook { border-color: #1877f2; }
.social-btn.line { border-color: #00c300; }

.social-btn img {
  width: 20px;
  height: 20px;
}

.login-links {
  text-align: center;
  margin-top: 20px;
}

.login-links a {
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.login-links a:hover {
  color: #f5d76e;
  text-decoration: underline;
}

.login-links p {
  color: #888;
  font-size: 14px;
  margin: 10px 0;
}

.login-alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.login-alert.show {
  display: block;
  animation: slideDown 0.3s;
}

.login-alert.error {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
}

.login-alert.success {
  background: rgba(0, 204, 102, 0.1);
  border: 1px solid #00cc66;
  color: #00cc66;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

.test-hint {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #d4af37;
  border-radius: 8px;
  padding: 12px;
  margin-top: 15px;
  font-size: 12px;
  color: #d4af37;
  text-align: center;
}

.test-hint strong {
  color: #f5d76e;
}