/* IA_PADRAO_ACESSO_2026 */

body:has(.ia-access) {
  background: #f4f5f7;
}

.ia-access,
.ia-access * {
  box-sizing: border-box;
}

.ia-access.auth-card {
  width: min(100%, 440px);
  max-width: 440px;
  padding: 30px 28px 25px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 19px;
  box-shadow: 0 10px 35px rgba(15,23,42,.08);
  color: #172033;
}

.ia-access .ia-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110px;
  margin-bottom: 14px;
  text-align: center;
}

.ia-access .ia-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 17px;
  background: #2563eb;
  color: white;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -2px;
}

.ia-access .ia-brand-name {
  margin-left: 13px;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.8px;
  color: #172033;
}

.ia-access .ia-brand-logo {
  max-width: 220px;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ia-access h1 {
  margin: 12px 0 23px;
  color: #111827;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.ia-access form {
  width: 100%;
}

.ia-access form p {
  margin: 0 0 16px;
}

.ia-access form label {
  display: block;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.ia-access form input:not([type="hidden"]):not([type="checkbox"]),
.ia-access form select,
.ia-access form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 49px;
  margin-top: 7px;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 11px;
  background: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.ia-access form input:focus,
.ia-access form select:focus,
.ia-access form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.ia-access form input[type="checkbox"] {
  accent-color: #2563eb;
}

.ia-access form button[type="submit"],
.ia-access .btn-primary {
  display: block;
  width: 100%;
  min-height: 51px;
  padding: 12px 18px;
  border: 0;
  border-radius: 11px;
  background: #087dff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.ia-access form button[type="submit"]:hover,
.ia-access .btn-primary:hover {
  background: #086de0;
}

.ia-access .ia-access-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 4px;
}

.ia-access a,
.ia-access .ia-access-links a {
  color: #087dff;
  text-decoration: none !important;
  font-weight: 500;
}

.ia-access a:hover {
  text-decoration: none !important;
  color: #075ec4;
}

.ia-access .ia-turnstile-slot {
  display: none;
  width: 100%;
  min-height: 65px;
  margin: 12px 0 18px;
}

.ia-access .ia-turnstile-slot[data-enabled="1"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ia-access footer {
  margin-top: 30px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}

.ia-access .ia-signup-form {
  width: 100%;
}

.ia-access .ia-signup-form input:not([type="checkbox"]) {
  width: 100%;
}

@media (max-width: 480px) {
  .ia-access.auth-card {
    width: calc(100% - 24px);
    padding: 25px 20px;
    border-radius: 17px;
  }

  .ia-access .ia-brand-name {
    font-size: 24px;
  }

  .ia-access h1 {
    font-size: 25px;
  }

  .ia-access .ia-access-links {
    font-size: 14px;
  }
}


/* IA_LOGIN_ESCURO_7V */
html[data-theme="dark"] body:has(.ia-access) {
  background: #0b1220;
  color: #e2e8f0;
}
html[data-theme="dark"] .ia-access.auth-card {
  background: #172338;
  color: #e2e8f0;
  border-color: #334155;
  box-shadow: 0 12px 38px rgba(0,0,0,.28);
}
html[data-theme="dark"] .ia-access .ia-brand-name,
html[data-theme="dark"] .ia-access h1,
html[data-theme="dark"] .ia-access .brand {
  color: #f8fafc;
}
html[data-theme="dark"] .ia-access form label {
  color: #dbe5f3;
}
html[data-theme="dark"] .ia-access form input:not([type="hidden"]):not([type="checkbox"]),
html[data-theme="dark"] .ia-access form select,
html[data-theme="dark"] .ia-access form textarea {
  background: #0b1220;
  color: #f8fafc;
  border-color: #475569;
}
html[data-theme="dark"] .ia-access footer,
html[data-theme="dark"] .ia-access > p {
  color: #b5c3d7;
}
html[data-theme="dark"] .ia-access .ia-access-links a {
  color: #70b2ff;
}
html[data-theme="dark"] .ia-access #theme {
  background: #26354b;
  color: #f8fafc;
  border-color: #475569;
}
