@charset "UTF-8";

:root {
  --public-bg: #eef3f8;
  --public-surface: rgba(255, 255, 255, 0.94);
  --public-surface-strong: #ffffff;
  --public-text: #152234;
  --public-muted: #5d6b7c;
  --public-line: rgba(21, 34, 52, 0.12);
  --public-line-strong: rgba(21, 34, 52, 0.2);
  --public-primary: #1e5aa8;
  --public-primary-strong: #15427d;
  --public-accent: #e25343;
  --public-accent-strong: #be3b2f;
  --public-shadow-sm: 0 12px 28px rgba(17, 34, 68, 0.08);
  --public-shadow-md: 0 22px 56px rgba(17, 34, 68, 0.14);
  --public-radius-sm: 14px;
  --public-radius: 24px;
  --public-content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.public-layout {
  background:
    radial-gradient(circle at top left, rgba(30, 90, 168, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(226, 83, 67, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--public-bg) 100%);
  color: var(--public-text);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: var(--public-primary);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.public-site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  width: min(calc(100% - 32px), var(--public-content-width));
  margin: 0 auto;
}

#cookiesbanner {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(calc(100% - 24px), 920px);
  margin: 16px auto 0;
  padding: 16px 18px;
  border-radius: var(--public-radius-sm);
  border: 1px solid var(--public-line);
  background: rgba(21, 34, 52, 0.94);
  color: #fff;
  box-shadow: var(--public-shadow-sm);
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

#supertop {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(21, 34, 52, 0.9);
  color: rgba(255, 255, 255, 0.88);
}

.public-meta {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.public-meta__nav,
.public-meta__actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.public-meta__logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

#top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(248, 251, 255, 0.82);
}

.public-toolbar__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-brand a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.public-brand img {
  max-height: 56px;
  width: auto;
}

.public-toolbar__nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-nav {
  display: flex;
  align-items: center;
}

.public-toolbar__cta {
  display: flex;
  align-items: center;
}

.public-nav-toggle {
  position: relative;
  display: none;
}

.icon-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--public-line);
  border-radius: 14px;
  background: var(--public-surface-strong);
  color: var(--public-text);
  cursor: pointer;
  box-shadow: var(--public-shadow-sm);
}

#dropdownmenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--public-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--public-shadow-md);
}

#dropdownmenu .menu01,
#dropdownmenu .menu01 tbody,
#dropdownmenu .menu01 tr,
#dropdownmenu .menu01 td {
  display: block;
  width: 100%;
}

#dropdownmenu .menu01 td + td {
  margin-top: 8px;
}

#dropdownmenu .menuitem01 {
  width: 100%;
}

#contents {
  flex: 1;
  padding: 44px 0 64px;
}

.public-hero,
.auth-shell,
.public-actions-grid,
.footer-columns,
.form-grid,
.hero-metrics {
  display: grid;
  gap: 24px;
}

.public-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  align-items: stretch;
}

.public-actions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  align-items: start;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.form-grid--single,
.hero-metrics,
.footer-columns {
  grid-template-columns: minmax(0, 1fr);
}

.hero-panel,
.card,
.box {
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  background: var(--public-surface);
  box-shadow: var(--public-shadow-sm);
}

.hero-panel,
.card,
.box,
.auth-panel,
.auth-aside,
.form-panel {
  padding: 28px;
}

.hero-panel--accent {
  background: linear-gradient(145deg, rgba(30, 90, 168, 0.96), rgba(21, 66, 125, 0.96));
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-panel--accent::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-kicker,
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 90, 168, 0.08);
  color: var(--public-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-panel--accent .hero-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-title,
.auth-title {
  margin: 16px 0 10px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.auth-header,
.form-panel__header {
  margin-bottom: 22px;
}

.hero-lead,
.auth-subtitle,
.form-helper,
.cta-card p {
  margin: 0;
  color: var(--public-muted);
  line-height: 1.7;
}

.hero-panel--accent .hero-lead,
.hero-panel--accent .hero-metrics__item strong,
.hero-panel--accent .hero-metrics__item span,
.hero-panel--accent .hero-note {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.form-actions,
.auth-links,
.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.hero-metrics__item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics__item strong,
.hero-metrics__item span {
  display: block;
}

.hero-metrics__item strong {
  font-size: 24px;
  font-weight: 800;
}

.hero-metrics__item span {
  margin-top: 6px;
  font-size: 13px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(30, 90, 168, 0.1);
  color: var(--public-primary);
  font-size: 24px;
}

.cta-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.cta-card__actions {
  margin-top: auto;
}

.status-banner {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(30, 90, 168, 0.18);
  background: rgba(30, 90, 168, 0.08);
}

.status-banner.is-error {
  border-color: rgba(180, 49, 36, 0.18);
  background: rgba(180, 49, 36, 0.08);
}

.status-banner.is-success {
  border-color: rgba(15, 138, 75, 0.18);
  background: rgba(15, 138, 75, 0.08);
}

.form-stack,
.note-list {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--public-line);
  border-radius: 16px;
  background: #fff;
  color: var(--public-text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(30, 90, 168, 0.42);
  box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.12);
}

input[disabled] {
  background: rgba(21, 34, 52, 0.04);
  color: var(--public-muted);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--public-primary);
}

.btn,
.button1,
.button2 {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  line-height: 1;
}

.btn-accent,
.button1 {
  background: linear-gradient(135deg, var(--public-accent), var(--public-accent-strong));
  color: #fff;
  box-shadow: 0 16px 32px rgba(226, 83, 67, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, var(--public-primary), var(--public-primary-strong));
  color: #fff;
  box-shadow: 0 16px 32px rgba(30, 90, 168, 0.22);
}

.btn-ghost,
.button2 {
  background: #fff;
  border-color: var(--public-line);
  color: var(--public-text);
}

.button1 > div,
.button2 > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-links a {
  font-weight: 700;
  color: var(--public-primary);
}

.input_evi {
  color: var(--public-accent);
}

#ricorda_passw {
  overflow: hidden;
}

.divider {
  height: 1px;
  background: var(--public-line);
  margin: 18px 0;
}

.note-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--public-muted);
  line-height: 1.6;
}

.note-list i {
  color: var(--public-primary);
  margin-top: 3px;
}

.public-footer {
  margin-top: auto;
  padding: 0 0 32px;
}

.public-footer .content {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 32px;
  background: rgba(21, 34, 52, 0.94);
  box-shadow: var(--public-shadow-md);
}

.footer-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.colonnafoo {
  display: grid;
  align-content: start;
  gap: 14px;
}

#foocreditscnt {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.menu01 {
  border-collapse: collapse;
}

.menuitem01 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--public-text);
}

.menuitem01 p {
  margin: 0;
  white-space: nowrap;
}

.menuitem01:hover,
.menuon {
  background: rgba(30, 90, 168, 0.1);
  color: var(--public-primary);
}

.menu2,
.menu4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu2 a,
.menu4 a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  font-size: 14px;
  font-weight: 600;
}

.menu2 a {
  color: rgba(255, 255, 255, 0.9);
}

.menu4 a {
  color: var(--public-text);
}

.menu2 li {
  color: rgba(255, 255, 255, 0.4);
}

.menu4 li {
  color: rgba(21, 34, 52, 0.2);
}

.menu4on {
  color: var(--public-primary);
}

.bordered {
  border: 1px solid var(--public-line-strong);
}

.nodec {
  text-decoration: none;
}

.fleft {
  float: left;
}

.fright {
  float: right;
}

.clearboth {
  clear: both;
}

.cliccabile {
  cursor: pointer;
}

.spessore {
  height: 16px;
  clear: both;
}

hr {
  border: 0;
  border-top: 1px solid var(--public-line);
  margin: 24px 0;
}

#main_overlay,
#main_woverlay {
  position: fixed;
  inset: 0;
  z-index: 80;
}

#overlay,
#woverlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 28, 0.66);
}

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 81;
  transform: translate(-50%, -50%);
}

#cnt_overlay,
#cnt_woverlay {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 82;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 32px), 960px);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--public-shadow-md);
}

#titleoverlay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--public-line);
}

#overlayframe {
  width: 100%;
  min-height: 70vh;
  border: 0;
  border-radius: 0 0 24px 24px;
}

@media screen and (max-width: 1080px) {
  .public-hero,
  .auth-shell,
  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-toolbar__cta {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .content {
    width: min(calc(100% - 24px), var(--public-content-width));
  }

  .public-nav {
    display: none;
  }

  .public-nav-toggle {
    display: block;
  }

  .public-actions-grid,
  .form-grid,
  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel,
  .card,
  .box,
  .auth-panel,
  .auth-aside,
  .form-panel {
    padding: 22px;
  }
}

@media screen and (max-width: 640px) {
  #contents {
    padding: 28px 0 42px;
  }

  .hero-title,
  .auth-title {
    font-size: 30px;
  }

  .btn,
  .button1,
  .button2,
  .form-actions a {
    width: 100%;
  }

  .form-actions,
  .auth-links,
  .cta-card__actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .public-footer .content {
    padding: 22px;
    border-radius: 24px;
  }
}
