/* ------------------------------------------------------ */
/*  WRAPPER                                               */
/* ------------------------------------------------------ */

.register-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 40px 0;
}

/* ------------------------------------------------------ */
/*  FORM                                                  */
/* ------------------------------------------------------ */

.register-form {
    width: 90%;
    max-width: 700px;
    background: rgba(0, 60, 35, 0.65); /* verde scuro moderno */
    border-radius: 18px;
    padding: 40px 35px;
    backdrop-filter: blur(6px);
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.register-form h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    font-weight: 700;
    color: white;
}

/* ------------------------------------------------------ */
/*  GRID A DUE COLONNE                                    */
/* ------------------------------------------------------ */

.register-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 25px;
}

/* Per schermi piccoli → 1 colonna */
@media (max-width: 600px) {
    .register-fields {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------ */
/*  CAMPI                                                 */
/* ------------------------------------------------------ */

.register-field {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.register-field label {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.register-field input {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    outline: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 1em;
    transition: 0.25s ease;
}

.register-field input::placeholder {
    color: rgba(255, 255, 255, 0.55); /* placeholder più chiaro */
}

.register-field input:focus {
    background: rgba(255,255,255,0.28);
    border-color: #00d27f;
    box-shadow: 0 0 8px rgba(0,210,127,0.4);
    transform: scale(1.02);
}

/* ------------------------------------------------------ */
/*  PRIVACY TEXT                                         */
/* ------------------------------------------------------ */

.privacy-text {
    font-size: 0.95em;
    color: #ffffffaa;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.privacy-text a {
    color: #00d27f;
    text-decoration: underline;
    font-weight: 600;
}

.privacy-text a:hover {
    color: #14c982;
}

/* ------------------------------------------------------ */
/*  SUBMIT BUTTON                                         */
/* ------------------------------------------------------ */

.register-form input[type="submit"] {
    background: linear-gradient(145deg, #0da96a, #087a4c);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 35px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 35px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

.register-form input[type="submit"]:hover {
    background: linear-gradient(145deg, #14c982, #0a8f5b);
    transform: scale(1.05);
    box-shadow: 0 10px 22px rgba(0,0,0,0.55);
}
