@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

html, body, #root { margin: 0; padding: 0; min-height: 100%; }
body { background: #0E4445; font-family: 'IBM Plex Sans', sans-serif; }
* { box-sizing: border-box; }

/* Autenticação Supabase */
.ev-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: radial-gradient(ellipse at top left, rgba(201, 162, 39, .13), transparent 42%), #0E4445;
  color: #c7eaeb;
  font-family: 'IBM Plex Sans', sans-serif;
}
.ev-auth-card {
  width: min(100%, 440px);
  padding: 30px;
  border: 1px solid #177173;
  border-radius: 16px;
  background: #125758;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}
.ev-auth-logo { display: block; max-width: 124px; max-height: 100px; object-fit: contain; margin: 0 auto 14px; }
.ev-auth-eyebrow { margin: 0; text-align: center; color: #C9A227; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.ev-auth-card h1 { margin: 7px 0 8px; text-align: center; font-family: 'Source Serif 4', serif; color: #f3f7f4; font-size: 26px; }
.ev-auth-description { margin: 0 auto 22px; max-width: 320px; text-align: center; color: #b5d4d3; font-size: 13px; line-height: 1.6; }
.ev-auth-form { display: grid; gap: 14px; }
.ev-auth-form label { display: grid; gap: 6px; }
.ev-auth-form label span { color: #c7eaeb; font-size: 12px; font-weight: 600; }
.ev-auth-form input { width: 100%; padding: 12px 13px; border: 1px solid #1C8A8C; border-radius: 7px; outline: none; background: #0B3536; color: #f3f7f4; font: inherit; font-size: 14px; }
.ev-auth-form input:focus { border-color: #C9A227; box-shadow: 0 0 0 3px rgba(201, 162, 39, .12); }
.ev-auth-submit { width: 100%; margin-top: 4px; border: 0; border-radius: 7px; padding: 12px 14px; color: #0E4445; background: #C9A227; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ev-auth-submit:disabled, .ev-signout-button:disabled { opacity: .6; cursor: wait; }
.ev-auth-switch { margin-top: 20px; text-align: center; color: #b5d4d3; font-size: 12px; }
.ev-auth-switch button { border: 0; padding: 0; background: transparent; color: #e6c65d; font: inherit; font-weight: 700; cursor: pointer; }
.ev-auth-footnote, .ev-auth-muted { margin: 16px 0 0; color: #90b6b5; text-align: center; font-size: 11px; line-height: 1.5; }
.ev-auth-message { margin: 0 0 14px; padding: 10px 12px; border-radius: 7px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ev-auth-error, .ev-auth-inline-error { border: 1px solid #965c4b; background: #4A2A22; color: #F0C9B8; }
.ev-auth-notice { border: 1px solid #668d72; background: #203f37; color: #c9edcf; }
.ev-setup-card { max-width: 540px; }
.ev-setup-card h1 { margin-bottom: 14px; }
.ev-setup-card p, .ev-setup-card li { color: #c1dbd8; font-size: 13px; line-height: 1.65; }
.ev-setup-card ol { padding-left: 22px; }
.ev-setup-card code { color: #f2d778; overflow-wrap: anywhere; }
.ev-auth-loading { text-align: center; }
.ev-signed-in-shell { min-height: 100vh; }
.ev-account-bar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 8px 20px; background: #0B3536; color: #b5d4d3; font: 12px 'IBM Plex Sans', sans-serif; }
.ev-account-bar > span { display: flex; align-items: center; gap: 7px; }
.ev-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #76c28d; }
.ev-signout-button { padding: 5px 11px; border: 1px solid #1C8A8C; border-radius: 5px; background: transparent; color: #d9ece8; font: inherit; cursor: pointer; }
.ev-auth-inline-error { padding: 8px 16px; font: 12px 'IBM Plex Sans', sans-serif; }
@media (max-width: 520px) {
  .ev-auth-card { padding: 23px 18px; }
  .ev-account-bar { justify-content: space-between; gap: 8px; padding: 8px 12px; }
  .ev-account-bar > span { font-size: 10px; }
}
