* {
    font-family: 'Lato', sans-serif;
}

/* Contenitore form */
.flex-form {
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.95);
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    margin: 20px auto;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(10px);
    color: #e5e7eb;
}

.flex-form-container {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: transparent;
}

/* Label */
.flex-form-label {
    font-weight: 600;
    text-align: left;
    margin-right: 0;
    min-height: 30px;
    font-size: 22px;
    color: #e5e7eb;
}

/* Contenitore pulsante */
.form-flex-button {
    margin: 20px auto 0;
}

/* Input */
.flex-form-input {
    font-size: 20px;
    flex: auto;
    min-height: 40px;
    width: 90%;
    border: 1px solid rgba(75, 85, 99, 0.9);
    border-radius: 10px;
    padding: 8px 12px;
    background: #020617;
    color: #e5e7eb;
    transition: all 0.2s ease-out;
}

.flex-form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow:
        0 0 0 1px #6366f1,
        0 0 16px rgba(99, 102, 241, 0.5);
    background: #020617;
}

/* Contenitore immagine */
.image-container {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    text-align: center;
    background: rgba(15, 23, 42, 0.95);
    padding: 16px;
    border-radius: 20px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.25);
}

/* BUTTON PRINCIPALE */
.button-71 {
    margin: auto;
    background-image: linear-gradient(135deg, #4f46e5, #6366f1);
    border: 0;
    border-radius: 999px;
    color: #f9fafb;
    cursor: pointer;
    display: inline-block;
    font-family: system-ui, -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-size: 18px;
    font-weight: 600;
    outline: 0;
    padding: 16px 26px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .25s ease-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    box-shadow:
        0 10px 25px rgba(79, 70, 229, 0.55),
        0 0 0 1px rgba(129, 140, 248, 0.6);
}

.button-71:before {
    background-color: initial;
    background-image: linear-gradient(#ffffff 0, rgba(255, 255, 255, 0) 100%);
    border-radius: 125px;
    content: "";
    height: 50%;
    left: 4%;
    opacity: .4;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 92%;
}

.button-71:hover {
    box-shadow:
        rgba(255, 255, 255, .25) 0 3px 18px inset,
        rgba(0, 0, 0, .3) 0 8px 18px,
        rgba(79, 70, 229, .65) 0 0 22px;
    transform: translateY(-1px) scale(1.04);
}

/* Input base */
input.text {
    font-size: 20px;
    color: #e5e7eb;
    background: #020617;
    border: 1px solid rgba(75, 85, 99, 0.9);
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 10px;
}

/* Input focus */
input[type=text]:focus {
    font-size: 20px;
    background-color: #020617;
    color: #f9fafb;
    font-weight: 500;
    outline: none;
    border-color: #6366f1;
    box-shadow:
        0 0 0 1px #6366f1,
        0 0 16px rgba(99, 102, 241, 0.5);
}

/* Altri button (submit/reset) */
input[type=button],
input[type=submit],
input[type=reset] {
    font-size: 18px;
    background-image: linear-gradient(135deg, #4f46e5, #6366f1);
    border: none;
    color: #f9fafb;
    padding: 14px 30px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 999px;
    box-shadow:
        0 10px 25px rgba(79, 70, 229, 0.55),
        0 0 0 1px rgba(129, 140, 248, 0.6);
    transition: all 0.2s ease-out;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    transform: translateY(-1px) scale(1.03);
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .button-71 {
        padding: 16px 48px;
    }

    .image-container {
        width: 50%;
    }

    .flex-form {
        width: 50%;
    }

    .flex-form-input {
        min-height: 38px;
    }

    .flex-form-label {
        min-height: 15px;
    }
}
