/* Riprende l'estetica del form di Gennaio: sfondo verde pieno, card bianca semplice, font Caveat. */
:root {
    --accent: #2a9b8e;
    --ink: #333;
    --paper: #ffffff;
    --muted: #4a4a4a;
    --border: #e0e0e0;
}

.registration-body {
    min-height: 100vh;
    background-color: var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    color: var(--ink);
}

.registration-shell {
    width: min(840px, 100%);
    display: flex;
    justify-content: center;
    margin: 60px 20px;
}

.registration-card {
    background: var(--paper);
    border-radius: 6px;
    padding: 56px 48px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Hero integration for registration page */
.registration-body .hero {
    width: 100%;
    height: 50vh;
    min-height: 400px;
}

.registration-body .hero::before {
    background: rgba(0, 0, 0, 0.35);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 8px;
}

.card-header h1 {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
    font-style: italic;
}

.lede {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    font-weight: 500;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.column-card {
    background: #fafafa;
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 18px 18px 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.column-title {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    color: var(--muted);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 4px;
    border: 2px solid var(--border);
    background: #fafafa;
    font-size: 18px;
    font-family: 'Caveat', cursive;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #9b9b9b;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(42, 155, 142, 0.2);
    background: #fff;
}

.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 17px;
    color: var(--muted);
    line-height: 1.5;
}

.consent-line input {
    margin-top: 4px;
    accent-color: var(--accent);
}

.primary-btn {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Caveat', cursive;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    width: 100%;
}

.primary-btn:hover:not(:disabled) {
    background-color: #258075;
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.primary-btn:active:not(:disabled) {
    transform: scale(0.99);
}

.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 720px) {
    .registration-card {
        padding: 40px 28px;
    }

    .card-header h1 {
        font-size: 32px;
    }

    .lede {
        font-size: 18px;
    }

    .primary-btn {
        font-size: 18px;
        padding: 14px 28px;
    }

    /* Header responsive: stack links, keep contrast */
    .registration-body .header {
        flex-direction: column;
        gap: 12px;
        padding: 14px 18px;
    }

    .registration-body .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .registration-shell {
        margin: 40px 14px;
    }

    .registration-card {
        padding: 32px 22px;
    }

    .card-header h1 {
        font-size: 28px;
    }

    .lede {
        font-size: 16px;
    }

    .form-group input {
        font-size: 17px;
        padding: 12px 14px;
    }
}
