/* Area Riservata — login card (template privacy) */
.ar-login-wrap {
  --ar-navy: #0b2c4a;
  --ar-navy-soft: #143a5c;
  --ar-orange: #e67a2e;
  --ar-orange-dark: #c96520;
  --ar-border: #d7dde5;
  --ar-muted: #5b6775;
  --ar-bg: #f4f7fa;
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

.ar-login-wrap__title {
  margin: 0 0 0.75rem;
  color: var(--ar-navy);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
}

.ar-login-wrap__note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--ar-orange);
  background: #fff7f0;
  color: var(--ar-navy);
  font-size: 0.95rem;
  line-height: 1.45;
  font-style: normal;
}

.ar-login-wrap__note strong {
  color: var(--ar-orange-dark);
}

.ar-login-card {
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 12px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 10px 28px rgba(11, 44, 74, 0.08);
}

.ar-login__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ar-login__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ar-login__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ar-navy);
}

.ar-login__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ar-border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  color: #1a2430;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-login__input:focus {
  outline: none;
  border-color: var(--ar-orange);
  box-shadow: 0 0 0 3px rgba(230, 122, 46, 0.2);
}

.ar-login__password-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.ar-login__password-wrap .ar-login__input {
  padding-right: 7.5rem;
}

.ar-login__toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ar-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
}

.ar-login__toggle:hover {
  color: var(--ar-navy);
  background: var(--ar-bg);
}

.ar-login__remember {
  margin-top: -0.15rem;
}

.ar-login__check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ar-muted);
  font-size: 0.92rem;
  cursor: pointer;
}

.ar-login__check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ar-orange);
}

.ar-login__actions {
  margin-top: 0.25rem;
}

.ar-login__submit {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: var(--ar-orange);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.ar-login__submit:hover {
  background: var(--ar-orange-dark);
}

.ar-login__submit:active {
  transform: translateY(1px);
}

.ar-login__extra {
  margin-top: 0.35rem;
}

.ar-login__secondary {
  width: 100%;
  border: 1px solid var(--ar-border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--ar-navy-soft);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.ar-login__secondary:hover {
  background: var(--ar-bg);
}

.ar-login__links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ar-border);
}

.ar-login__links a {
  color: var(--ar-orange-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.ar-login__links a:hover {
  text-decoration: underline;
  color: var(--ar-navy);
}

/* Hide leftover icon junk if core CSS still injects something */
.ar-login .input-group-text,
.ar-login .icon-user,
.ar-login .icon-eye {
  display: none !important;
}
