.larri-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 27, 56, 0.95);
  color: #1f2d57;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.larri-auth-panel {
  width: min(400px, 100%);
  box-sizing: border-box;
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.larri-auth-panel h1 {
  margin: 0 0 8px;
  color: #1f2d57;
  font-size: 1.45rem;
}

.larri-auth-panel p {
  margin: 0 0 20px;
  color: #5f6b86;
  line-height: 1.45;
}

.larri-auth-panel label {
  display: block;
  margin: 12px 0 5px;
  color: #1f2d57;
  font-size: 0.9rem;
  font-weight: 650;
}

.larri-auth-panel input {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #aeb7ca;
  border-radius: 8px;
  background: #fff;
  color: #15213f;
  font: inherit;
}

.larri-auth-panel input:focus {
  border-color: #1d4ed8;
  outline: 3px solid rgba(29, 78, 216, 0.18);
}

.larri-auth-error {
  min-height: 1.25em;
  margin: 10px 0 0 !important;
  color: #b42318 !important;
  font-size: 0.88rem;
}

.larri-auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.larri-auth-actions button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.larri-auth-actions .larri-auth-cancel {
  background: #e9edf5;
  color: #1f2d57;
}

.larri-auth-actions button:disabled { opacity: 0.6; cursor: wait; }
.larri-auth-actions button:focus-visible { outline: 3px solid #e8531c; outline-offset: 3px; }
