/* =============================================================================
   Módulo: css/login.css
   TELA DE AUTENTICAÇÃO (Módulo 2 - Fase 2)
   Interface de login imersiva com animações aceleradas por GPU.
   ============================================================================= */

#login-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9500; /* Acima do menu, abaixo do loading principal */
  background: radial-gradient(ellipse at center, #1a1028 0%, #0a0a0a 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
  color: #fff;
}

.login-container {
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #ffd700;
  border-radius: 8px;
  padding: 50px 40px;
  max-width: 420px;
  animation: loginFadeInUp 0.6s ease-out forwards;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

@keyframes loginFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-avatar-placeholder {
  width: 80px;
  height: 80px;
  border: 2px solid #ffd700;
  border-radius: 50%;
  margin: 0 auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.1);
}

.login-logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 2px;
}

.login-subtitle {
  font-family: sans-serif;
  font-size: 14px;
  color: #c0c0c0;
  margin-bottom: 40px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #333;
  border: none;
  border-radius: 4px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  margin: 20px auto;
  width: 100%;
  max-width: 300px;
}

.google-btn:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  transform: scale(1.03);
}

.google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.login-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffd700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.login-error {
  color: #ff5555;
  font-size: 13px;
  margin-top: 15px;
  min-height: 20px;
  animation: fadeIn 0.3s ease-out;
}

.login-footer {
  font-size: 11px;
  color: #666;
  margin-top: 30px;
}