
:root{
    --bg1:#0b1220;
    --bg2:#111b33;

    --card: rgba(15,23,42,.78);
    --line: rgba(148,163,184,.18);

    --text:#e2e8f0;
    --muted:#94a3b8;

    --primary:#4f46e5;
    --primary2:#6366f1;

    --shadow: 0 18px 45px rgba(0,0,0,.35);
    --radius: 16px;

    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html, body { height:100%; }
body{
    margin:0;
    font-family:var(--font);
    color:var(--text);
    background:
        radial-gradient(900px 500px at 20% 15%, rgba(99,102,241,.22), transparent 55%),
        radial-gradient(900px 500px at 80% 80%, rgba(79,70,229,.18), transparent 55%),
        linear-gradient(160deg, var(--bg1), var(--bg2));
}

.page{
    min-height:100svh;
    display:flex;
    flex-direction:column;
    padding: 22px;
}

/* HEADER IN ALTO */
.page-header{
    max-width: 980px;
    width: 100%;
    margin: 18px auto 22px;
    text-align:center;
}
.page-header h1{
    margin:0 0 8px;
    font-size: 32px;
    letter-spacing: -0.4px;
}
.page-header p{
    margin:0;
    color:var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* UNA SOLA CARD CENTRALE */
.content{
    flex:1;
    display:grid;
    place-items:center;
}

.card{
    width: min(420px, 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 28px;
}

.card h2{
    margin:0 0 6px;
    font-size: 18px;
}
.card .sub{
    margin:0 0 18px;
    color:var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

label{
    display:block;
    margin: 12px 0 6px;
    color: var(--muted);
    font-size: 12px;
}

.input{
    width:100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(2,6,23,.35);
    color: var(--text);
    outline: none;
}
.input::placeholder{ color: rgba(148,163,184,.55); }

.input:focus{
    border-color: rgba(99,102,241,.65);
    box-shadow: 0 0 0 4px rgba(99,102,241,.15);
}

.row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-top: 10px;
}

.link{
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}
.link:hover{ color: var(--text); }

.btn{
    width:100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 12px 28px rgba(79,70,229,.25);
}
.btn:hover{ filter: brightness(1.05); }

/* FOOTER */
footer{
    max-width: 980px;
    width: 100%;
    margin: 18px auto 6px;
    display:flex;
    justify-content:space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}
footer a{
    color: var(--muted);
    text-decoration:none;
}
footer a:hover{ color: var(--text); }

/* Piccola rifinitura: separatore sottile */
.divider{
    height: 1px;
    background: rgba(148,163,184,.12);
    margin: 12px 0 0;
    border-radius: 999px;
}

:root{
    --bg1:#0b1220;
    --bg2:#111b33;

    --card: rgba(15,23,42,.78);
    --line: rgba(148,163,184,.18);

    --text:#e2e8f0;
    --muted:#94a3b8;

    --primary:#4f46e5;
    --primary2:#6366f1;

    --shadow: 0 18px 45px rgba(0,0,0,.35);
    --radius: 16px;

    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html, body { height:100%; }
body{
    margin:0;
    font-family:var(--font);
    color:var(--text);
    background:
        radial-gradient(900px 500px at 20% 15%, rgba(99,102,241,.22), transparent 55%),
        radial-gradient(900px 500px at 80% 80%, rgba(79,70,229,.18), transparent 55%),
        linear-gradient(160deg, var(--bg1), var(--bg2));
}

.page{
    min-height:100svh;
    display:flex;
    flex-direction:column;
    padding: 22px;
}

.page-header{
    max-width: 980px;
    width: 100%;
    margin: 18px auto 22px;
    text-align:center;
}
.page-header h1{
    margin:0 0 8px;
    font-size: 32px;
    letter-spacing: -0.4px;
}
.page-header p{
    margin:0;
    color:var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.content{
    flex:1;
    display:grid;
    place-items:center;
}

.card{
    width: min(420px, 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 28px;
}

.card h2{
    margin:0 0 6px;
    font-size: 18px;
}
.card .sub{
    margin:0 0 18px;
    color:var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

label{
    display:block;
    margin: 12px 0 6px;
    color: var(--muted);
    font-size: 12px;
}

.input{
    width:100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(2,6,23,.35);
    color: var(--text);
    outline: none;
}
.input::placeholder{ color: rgba(148,163,184,.55); }

.input:focus{
    border-color: rgba(99,102,241,.65);
    box-shadow: 0 0 0 4px rgba(99,102,241,.15);
}

.row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-top: 10px;
}

.link{
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}
.link:hover{ color: var(--text); }

.btn{
    width:100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 12px 28px rgba(79,70,229,.25);
}
.btn:hover{ filter: brightness(1.05); }

footer{
    max-width: 980px;
    width: 100%;
    margin: 18px auto 6px;
    display:flex;
    justify-content:space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}
footer a{
    color: var(--muted);
    text-decoration:none;
}
footer a:hover{ color: var(--text); }

.divider{
    height: 1px;
    background: rgba(148,163,184,.12);
    margin: 12px 0 0;
    border-radius: 999px;
}

