/* RESET BASE */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f2f2f2, #e6e6e6);
    margin: 0;
    padding: 0;
}

/* CONTAINER */
.login-container-gegov,
.gegov-register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* CARD */
.login-box-gegov,
.register-form-gegov {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;

    /* animazione ingresso */
    animation: fadeSlide 0.6s ease;
}

/* TITOLO */
h2, h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* INPUT */
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.25s ease;
}

/* INPUT HOVER + FOCUS */
input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 6px rgba(0, 115, 170, 0.3);
    outline: none;
    transform: scale(1.02);
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0073aa, #005f8a);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* BUTTON HOVER */
button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ERROR */
.error-gegov {
    color: red;
    margin-bottom: 15px;
}

/* LINK REGISTER */
.register-link-gegov {
    margin-top: 15px;
}

.register-link-gegov a {
    color: #0073aa;
    text-decoration: none;
    position: relative;
}

/* underline animato */
.register-link-gegov a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #0073aa;
    left: 0;
    bottom: -2px;
    transition: 0.3s;
}

.register-link-gegov a:hover::after {
    width: 100%;
}

/* REGISTER PAGE FIX */
.register-form-gegov {
    margin: auto;
}

/* ANIMAZIONE */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.gegov-terms-box {

    margin: 20px 0;

    padding: 15px;

    background: #f8f9fa;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    font-size: 14px;

    line-height: 1.6;

}

.gegov-terms-box label {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    cursor: pointer;

}

.gegov-terms-box input[type="checkbox"] {

    margin-top: 3px;

}

.gegov-terms-box a {

    color: #2563eb;

    text-decoration: none;

    font-weight: 600;

}

.gegov-terms-box a:hover {

    text-decoration: underline;

}