:root {
  --rpc-teal: #00b8a9;
  --rpc-orange: #ffb347;
  --rpc-brown: #6b4b3e;
  --rpc-bg: #fdfaf7;
  --rpc-card-bg: #ffffff;
  --rpc-border: #e3ded8;
  --rpc-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f2fffb 0, var(--rpc-bg) 60%);
  color: #333333;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: var(--rpc-card-bg);
  border-radius: 24px;
  box-shadow: var(--rpc-shadow);
  padding: 28px 28px 20px;
  border: 1px solid var(--rpc-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #f0e8df;
  padding-bottom: 12px;
}

.logo {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.title-block h1 {
  margin: 0 0 4px;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--rpc-brown);
}

.subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #6c6c6c;
}

.login-content {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.helper-text {
  margin: 0;
  font-size: 0.95rem;
  color: #444444;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #ffffff;
  text-decoration: none;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: #3c4043;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.15s ease, transform 0.05s ease,
    border-color 0.15s ease, background-color 0.15s ease;
}

.google-btn:hover {
  background: #f8faff;
  border-color: #c5dafc;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.google-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.google-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dadce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.g-blue {
  color: #4285f4;
}

/* texto do botão */
.google-text {
  flex: 1;
  text-align: center;
}

/* dica/explicação */
.hint {
  margin: 0;
  font-size: 0.8rem;
  color: #777777;
}

/* rodapé */
.login-footer {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #eee2d8;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: #7b675c;
}

.tagline {
  font-weight: 600;
  color: var(--rpc-teal);
}

/* DEV MODE: Botões de teste de status */
.dev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid;
  background: #ffffff;
  text-decoration: none;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, transform 0.05s ease,
    border-color 0.15s ease, background-color 0.15s ease;
}

.dev-btn-active {
  border-color: #4caf50;
  color: #2e7d32;
}

.dev-btn-active:hover {
  background: #f1f8e9;
  border-color: #388e3c;
  box-shadow: 0 3px 6px rgba(76, 175, 80, 0.2);
  transform: translateY(-1px);
}

.dev-btn-pending {
  border-color: #ff9800;
  color: #e65100;
}

.dev-btn-pending:hover {
  background: #fff3e0;
  border-color: #f57c00;
  box-shadow: 0 3px 6px rgba(255, 152, 0, 0.2);
  transform: translateY(-1px);
}

.dev-btn-inactive {
  border-color: #f44336;
  color: #c62828;
}

.dev-btn-inactive:hover {
  background: #ffebee;
  border-color: #d32f2f;
  box-shadow: 0 3px 6px rgba(244, 67, 54, 0.2);
  transform: translateY(-1px);
}

.dev-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
  .login-card {
    padding: 22px 18px 16px;
    border-radius: 18px;
  }

  .logo {
    width: 72px;
  }

  .title-block h1 {
    font-size: 1.15rem;
  }
  
  /* Em mobile, botões dev em coluna */
  .dev-btn {
    font-size: 0.85rem;
    padding: 9px 12px;
  }
}