/* Login estilo Ideris — fundo claro, campos com label flutuante */

body.ideris-login {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: #1f2937;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ideris-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.ideris-card {
  width: 100%;
  max-width: 420px;
}

.ideris-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.ideris-brand img {
  width: 40px;
  height: 40px;
}

.ideris-brand strong {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111827;
}

.ideris-brand em {
  font-style: normal;
  color: #f97316;
}

.ideris-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.ideris-subtitle {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.ideris-alert {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.ideris-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.ideris-alert--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.ideris-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ideris-field {
  position: relative;
}

.ideris-field input {
  width: 100%;
  height: 52px;
  padding: 18px 14px 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ideris-field input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ideris-field label {
  position: absolute;
  left: 12px;
  top: -8px;
  padding: 0 4px;
  background: #fff;
  font-size: 12px;
  color: #6b7280;
  pointer-events: none;
}

.ideris-field--password input {
  padding-right: 44px;
}

.ideris-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ideris-eye:hover { color: #6b7280; }

.ideris-eye svg {
  width: 18px;
  height: 18px;
}

.ideris-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -4px;
}

.ideris-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
  user-select: none;
}

.ideris-check input {
  width: 15px;
  height: 15px;
  accent-color: #2563eb;
}

.ideris-link {
  font-size: 13px;
  color: #7c3aed;
  text-decoration: none;
  white-space: nowrap;
}

.ideris-link:hover { text-decoration: underline; }

.ideris-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ideris-btn:hover { background: #1d4ed8; }

.ideris-btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ideris-btn-google svg {
  width: 20px;
  height: 20px;
}

.ideris-btn-google:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.ideris-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: #9ca3af;
  font-size: 12px;
}

.ideris-divider::before,
.ideris-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.ideris-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ideris-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -6px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.ideris-timer svg {
  width: 14px;
  height: 14px;
}

.ideris-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px auto 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.ideris-back:hover { color: #374151; }

.ideris-code-input {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.ideris-fallback {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #6b7280;
}

.ideris-fallback summary {
  cursor: pointer;
  color: #2563eb;
}

.ideris-fallback textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 13px;
  box-sizing: border-box;
}

.ideris-fallback .ideris-btn {
  margin-top: 8px;
  background: #f3f4f6;
  color: #111827;
}

.ideris-fallback .ideris-btn:hover { background: #e5e7eb; }
