﻿/* Shell publico: menu arriba, contenido centrado, pie abajo */

.public-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.public-topbar {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.public-topbar-badge {
  display: block;
  text-decoration: none;
}

.public-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 20px;
}

.site-footer-presticorp {
  flex-shrink: 0;
  margin-top: auto;
  padding: 18px 16px 22px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.footer-presticorp-credito {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-presticorp-credito a {
  color: #bbf7d0;
  text-decoration: none;
}

.footer-presticorp-credito a:hover {
  text-decoration: underline;
}

.google-auth-card {
  width: min(100%, 448px);
  padding: 48px 40px 36px;
  border-radius: 8px;
  background: #fff;
  color: #3c4043;
  box-shadow: 0 1px 3px 1px rgba(66, 64, 67, 0.15), 0 1px 2px rgba(60, 64, 67, 0.3);
}

.google-auth-card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3333;
  color: #202124;
}

.google-auth-card .google-auth-sub {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
  color: #3c4043;
}

.google-auth-card .google-auth-email {
  color: #202124;
  font-weight: 500;
}

.google-auth-card .google-auth-hint {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5f6368;
  text-align: center;
}

.google-auth-card .google-auth-link {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
}

.google-auth-card .google-auth-link a {
  color: #1a73e8;
  text-decoration: none;
}

.google-auth-card .google-auth-link a:hover {
  text-decoration: underline;
}

.google-auth-card .google-auth-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #b3261e;
  background: #fce8e6;
  border: 1px solid #f9dedc;
}

.btn-google-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
}

.btn-google-oauth:hover {
  background: #f8fafc;
  border-color: #c4c7cc;
  color: #111827;
  box-shadow: 0 4px 14px rgba(60, 64, 67, 0.14);
}

.btn-google-oauth:active {
  background: #f1f3f4;
}

.btn-google-oauth-text {
  color: #1f2937;
}

.btn-google-oauth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-google-oauth-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 520px) {
  .google-auth-card {
    padding: 32px 24px 28px;
  }

  .google-auth-card h1 {
    font-size: 22px;
  }
}

.topbar-brand-title {
  font-size: 14px;
}
