/* The Orange Auth — estilo das telas (inspirado no layout do Google Account). */
:root {
  --orange: #ff6a00;
  --orange-dark: #e85f00;
  --text: #202124;
  --text-dim: #5f6368;
  --border: #dadce0;
  --error: #d93025;
  --bg: #f0f2f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 40px 40px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.brand .dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
}
.brand .logo-img {
  width: 28px; height: 28px;
  object-fit: contain;
  border-radius: 6px;
}
.brand .brand-name { font-size: 20px; font-weight: 500; }
/* Co-branding: logo do app que está sendo autenticado */
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-brand .sep { color: var(--text-dim); font-size: 22px; line-height: 1; }
.app-brand .app-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }

h1 { font-size: 24px; font-weight: 400; text-align: center; margin: 8px 0 4px; }
.subtitle { text-align: center; color: var(--text-dim); font-size: 15px; margin: 0 0 28px; }

.field { position: relative; margin-bottom: 20px; }
.field input {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s;
}
.field input:focus { border-color: var(--orange); border-width: 1px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }

.btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--orange-dark); }
.btn:disabled { opacity: .6; cursor: default; }

.btn-text {
  background: none;
  border: none;
  color: var(--orange);
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.row-between { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }

.divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.social { display: flex; flex-direction: column; gap: 12px; }
.social button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px;
  border: 1px solid var(--border); border-radius: 24px;
  background: #fff; font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer;
}
.social button:hover { background: #f8f9fa; }
.social button:disabled { opacity: .5; cursor: default; }
.social img { width: 18px; height: 18px; }

.alert { font-size: 14px; padding: 10px 12px; border-radius: 6px; margin-bottom: 16px; display: none; }
.alert.error { background: #fce8e6; color: var(--error); display: block; }
.alert.success { background: #e6f4ea; color: #137333; display: block; }

.muted { color: var(--text-dim); font-size: 14px; text-align: center; margin-top: 24px; }
.muted a, a { color: var(--orange); text-decoration: none; }
.muted a:hover, a:hover { text-decoration: underline; }

.scopes { list-style: none; padding: 0; margin: 16px 0; }
.scopes li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
