        * {
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        body1 {
            background-color: #ffffff;
            margin: 0;
            padding: 30px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .form-container {
            width: 95%;
            max-width: 430px;
            margin: auto;
            /*top: 90px;
            position: relative;*/
        }

        /* Gestione delle pagine */
        .page {
            display: none;
        }
        .page.active {
            display: block;
        }

        /* Contenitore Logo */
        .logo-container {
            display: flex;
            align-items: center;
            margin-bottom: 35px;
            justify-content: center;
        }

        .logo-img {
            height: 52px;
            width: auto;
            object-fit: contain;
        }

        .page-title {
            text-align: center;
            font-size: 22px;
            font-weight: bold;
            color: #333333;
            margin-bottom: 25px;
            letter-spacing: -0.5px;
        }

        /* Riquadro Dati Login visibile nel PDF */
        .user-badge {
            background-color: #f0f7ff;
            border: 2px dashed #0070c0;
            border-radius: 8px;
            padding: 12px 15px;
            margin-bottom: 25px;
            font-size: 15px;
            color: #333333;
            line-height: 1.4;
        }
        .user-badge strong {
            color: #0070c0;
        }

        /* Gruppi del Form */
        .form-group {
            margin-bottom: 18px;
        }

        label {
            display: block;
            font-size: 19px;
            font-weight: bold;
            color: #000000;
            margin-bottom: 5px;
            letter-spacing: -0.5px;
        }

        .input-control {
            width: 100%;
            height: 44px;
            border: 3.5px solid #0070c0; 
            border-radius: 8px;
            padding: 0 12px;
            font-size: 16px;
            color: #333;
            outline: none;
            background-color: #ffffff;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
        }

        /* Input specifico per il caricamento file */
        input[type="file"].input-control {
            padding-top: 6px;
            cursor: pointer;
        }

        input[type="date"]::-webkit-calendar-picker-indicator {
            background: transparent;
            bottom: 0;
            color: transparent;
            cursor: pointer;
            height: auto;
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
            width: auto;
        }

        .select-wrapper {
            position: relative;
            width: 100%;
        }

        .select-wrapper select, .select-wrapper input[type="date"] {
            padding-right: 45px;
        }

        .select-wrapper::after {
            content: '';
            position: absolute;
            right: 4px;
            top: 4px;
            bottom: 4px;
            width: 34px;
            background-color: #ffffff;
            border-left: 3.5px solid #000000;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'><polygon points='0,0 14,0 7,8' fill='%23000000'/></svg>");
            background-repeat: no-repeat;
            background-position: center;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .input-control:focus {
            border-color: #005691;
        }

        .prezzo-control {
            background-color: #f5f5f5;
            font-weight: bold;
            color: #0070c0;
        }

        .btn-submit {
            width: 100%;
            height: 50px;
            background-color: #0070c0;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 15px;
            transition: background-color 0.2s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 6px rgba(0, 112, 192, 0.2);
        }

        .btn-submit:hover {
            background-color: #005691;
        }

        /* Regole di Stampa per il PDF */
        @media print {
            body {
                padding: 0;
                align-items: flex-start;
            }
            .btn-submit {
                display: none !important;
            }
            .user-badge {
                border: 2px solid #0070c0 !important;
                background-color: transparent !important;
            }
            .input-control {
                border: 2px solid #0070c0 !important;
                background-color: transparent !important;
            }
        }



/* NEW */
            img {
                float: left;
            /*    width: auto;*/
            }
            /*input[name="result"] {
                border: solid 1px #999;
                padding: 4px;
                margin: 0 0 0 10px;
                float: left;
            }*/
            input[type="submit"] {
                border: solid 2px #999;
                border-radius: 4px;
                padding: 4px 10px 4px 10px;
                margin: 0 0 0 10px;
                float: left;
                cursor: pointer;
                background: #D7D7D7;
            }
            input[type="submit"]:hover {
                border: solid 2px #000;
            }
            .result p {
                padding: 20px;
                margin: 0 0 20px 0;
                border: solid 1px #949494;
                border-radius: 10px;
                font-size: 20px;
            }
            .success {
                color: #268F21;
            }
            .failure {
                color: #F00;
            }