/* ==========================================================================
   ALTÍSIMO • PREMIUM AUTHENTICATION STYLESHEET (OLED MINIMALIST EDITION)
   Branded with official logo, Google Sign-in integration, and refined inputs.
   ========================================================================== */

#view-login {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #0A0A0A;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(226, 241, 102, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  overflow-y: auto;
  padding: 84px 20px 48px;
  -webkit-overflow-scrolling: touch;
}

#view-login.active {
  display: flex;
}

/* --- Header Navigation Bar --- */
.auth-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10100;
  max-width: 440px;
  margin: 0 auto;
}

.auth-circle-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #E2E2E0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.auth-circle-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: scale(1.05);
}

.auth-circle-nav-btn:active {
  transform: scale(0.95);
}

.auth-circle-nav-btn .material-symbols-outlined {
  font-size: 20px;
}

.auth-header-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.auth-header-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: 0 0 8px var(--color-lime);
}

/* --- Content Wrapper --- */
.login-content-wrapper {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  animation: authFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Brand Stage (Official Logo & Title) --- */
.auth-brand-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

.auth-logo-frame {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(226, 241, 102, 0.08);
}

.auth-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.auth-logo-halo {
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(226, 241, 102, 0.18) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.auth-brand-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 3px;
}

.auth-brand-subtitle {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --- Forms Container --- */
.auth-form-pro {
  display: none;
  flex-direction: column;
  width: 100%;
  background: rgba(22, 22, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  animation: formFadeIn 0.3s ease-out forwards;
}

.auth-form-pro.active {
  display: flex;
}

@keyframes formFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.auth-form-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-form-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.auth-form-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* --- Google Button (Full Width & Clean) --- */
.btn-auth-google-full {
  width: 100%;
  height: 50px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  outline: none;
}

.btn-auth-google-full:hover {
  background: #222222;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.btn-auth-google-full:active {
  transform: scale(0.98);
}

.google-icon-svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}

/* --- Dividers --- */
.auth-divider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Inputs Layout --- */
.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  width: 100%;
}

.auth-input-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-transform: uppercase;
  padding-left: 2px;
}

.auth-input-field-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 19px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-input-field {
  width: 100%;
  height: 48px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 0 42px 0 42px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #FFFFFF;
  transition: all 0.2s ease;
  outline: none;
}

.auth-input-field::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.auth-input-field:focus {
  border-color: var(--color-lime);
  box-shadow: 0 0 0 3px var(--color-lime-glow);
  background: #161616;
}

.auth-input-field:focus + .auth-input-icon,
.auth-input-field-wrap:focus-within .auth-input-icon {
  color: var(--color-lime);
}

.auth-input-toggle-pwd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.auth-input-toggle-pwd:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.auth-input-toggle-pwd .material-symbols-outlined {
  font-size: 19px;
}

/* --- Controls Row (Remember me & Forgot link) --- */
.auth-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12.5px;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
}

.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-lime);
  border-radius: 4px;
  cursor: pointer;
}

.auth-accent-link {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

.auth-accent-link:hover {
  color: var(--color-lime);
}

/* --- Action Submit Button --- */
.btn-auth-action {
  width: 100%;
  height: 48px;
  background: var(--color-lime);
  color: var(--color-lime-dark);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(226, 241, 102, 0.25);
  outline: none;
}

.btn-auth-action:hover {
  background: var(--color-lime-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(226, 241, 102, 0.35);
}

.btn-auth-action:active {
  transform: scale(0.98);
}

.btn-auth-action .material-symbols-outlined {
  font-size: 19px;
}

/* --- Switch Prompts --- */
.auth-switch-prompt {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 14px 0;
}

.auth-switch-btn-link {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-left: 3px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.auth-switch-btn-link:hover {
  color: var(--color-lime);
  text-decoration: underline;
}

/* --- Guest / Demo Bypass Prompt --- */
.auth-demo-bypass-prompt {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-switch-btn-link.demo-accent {
  color: var(--color-lime);
  font-weight: 600;
}

.auth-switch-btn-link.demo-accent:hover {
  color: var(--color-lime-hover);
}
