     body {
            font-family: Arial, sans-serif;
            padding: 10px;
            max-width: 550px;
            margin: 0 auto; 
            min-height: 100vh; 
            background: linear-gradient(to bottom, #c5cbd3 0%, #f4f4f9 15%);
            background-repeat: no-repeat; 
            background-attachment: fixed; 
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
        }
.card {
    background: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.cardP {
    background: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
    
}

/* LOGO */
.logo-img {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    border-radius: 22.5%; 
    overflow: hidden;    
}

h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}
label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
    color: #555;
    text-align: left;
}
input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}
.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}
.btn-calcola {
    background-color: #28a745;
    color: white;
}
.btn-calcola:hover {
    background-color: #218838;
}
.btn-calcola:disabled {
    background-color: #a5d6a7;
    cursor: not-allowed;
}
.btn-reset {
    background-color: #dc3545;
    color: white;
}
.btn-reset:hover {
    background-color: #c82333;
}

.btn-app {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

.risultato {
    margin-top: 15px;
    padding: 15px;
    background: #e9ecef;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    text-align: left;
    display: none;
}
.risultato h3 {
    margin: 0 0 10px 0;
    color: #007bff;
    font-size: 18px;
}
.risultato p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
}

.btn-app:hover {
    background: #0056b3;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px 0 0px 0;
}

.premium-bar {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

.btn-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    
    box-sizing: border-box;
}

.btn-bottom-premium {
    flex: 1; 
    background-color: #007bff;
    color: white;
}
.btn-bottom-premium:hover {
    background-color: #0056b3;
}

.btn-bottom-share {
    flex: 0 0 auto;
    width: 48px;
    padding: 0;
    background-color: #5f636b ;
    color: white;
}
.btn-bottom-share:hover {
    background-color: #343a40;
}
.btn-bottom-share svg {
    margin: 2px 2px 0 0;
}

/* STILE FOOTER */
.site-footer {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0px;
    padding: 15px 0;
}

.site-footer a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* STILE MODAL (POP-UP) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px 25px;
    border-radius: 12px;
    max-width: 450px;
    width: 75%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 80vh;          
    overflow-y: auto;          
}

.modal-content h3 {
    margin-top: 0;
    color: #333;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}