/* Kisnip — v2 auth pages (simple centered mask) */
.authv2 {
  --green: #0f5132;
  --green-strong: #0a3d26;
  --green-soft: #eef6f1;
  --green-line: #d5e6dc;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(680px 340px at 50% -10%, rgba(18, 133, 79, .10), transparent 60%),
    #f7faf8;
}

.authv2-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 22px;
}
.authv2-brand-logo { height: 44px; width: auto; display: block; }

.authv2-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--green-line);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 18px 50px rgba(15, 81, 50, .08);
}

.authv2-card h1 { font-size: 1.7rem; margin-bottom: 6px; text-align: center; }
.authv2-card .sub { color: var(--text-soft); margin-bottom: 26px; text-align: center; }

/* Green primary buttons and accents to match the v2 landing page */
.authv2 .btn-primary { background: var(--green); color: #fff; }
.authv2 .btn-primary:hover { background: var(--green-strong); color: #fff; box-shadow: 0 12px 30px rgba(15, 81, 50, .24); }

.authv2 .input:focus,
.authv2 .textarea:focus,
.authv2 .select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15, 81, 50, .12); }

/* Fully rounded inputs to match the v2 dashboard */
.authv2 .input, .authv2 .select { border-radius: var(--r-full); padding-left: 16px; padding-right: 16px; }
.authv2 .select { padding-right: 38px; }

.authv2 .checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex: 0 0 20px;
  margin: 0; border: 1.5px solid var(--green-line);
  border-radius: 50%; background: #fff;
  cursor: pointer; position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.authv2 .checkbox input[type="checkbox"]:hover { border-color: var(--green); }
.authv2 .checkbox input[type="checkbox"]:checked {
  background: var(--green); border-color: var(--green);
}
.authv2 .checkbox input[type="checkbox"]:checked::after {
  content: ""; position: absolute;
  left: 50%; top: 50%; width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
.authv2 .checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}

.authv2 .radio input { accent-color: var(--green); }

.authv2 .auth-alt a,
.authv2 .auth-links a:hover { color: var(--green); }
.authv2 .checkbox a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.authv2 .checkbox a:hover { color: var(--green-strong); }
.authv2 ::selection { background: var(--green); color: #fff; }

@media (max-width: 480px) {
  .authv2 { padding: 28px 16px; }
  .authv2-brand { margin-bottom: 18px; }
  .authv2-brand-logo { height: 40px; }
  .authv2-card { padding: 28px 22px; border-radius: 22px; }
  .authv2-card h1 { font-size: 1.5rem; }
  .authv2-card .sub { margin-bottom: 22px; }
}
