.payment-card {
        width: 100%;
        max-width: 700px;
        background: #ffffff;
        border-radius: 22px;
        padding: 50px 35px;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .success-icon {
        width: 110px;
        height: 110px;
        margin: 0 auto 25px;
    }

    .success-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .success-icon circle {
        fill: #28a745;
    }

    .success-icon path {
        fill: none;
        stroke: #fff;
        stroke-width: 4.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .payment-title {
        font-size: 2.6rem;
        font-weight: 600;
        color: #28a745;
        margin-bottom: 18px;
        line-height: 1.2;
    }

    .payment-text {
        font-size: 1.15rem;
        color: #495057;
        margin-bottom: 30px;
    }

    .payment-btn {
        display: inline-block;
        background: #28a745;
        color: #fff !important;
        border: none;
        border-radius: 10px;
        padding: 14px 30px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none !important;
        min-width: 260px;
        transition: all 0.2s ease;
        box-shadow: 0 8px 20px rgba(40, 167, 69, 0.2);
    }

    .payment-btn:hover {
        background: #218838;
        transform: translateY(-1px);
    }


    .notfount-btn {
        display: inline-block;
        background: #dc3545;
        color: #fff !important;
        border: none;
        border-radius: 10px;
        padding: 14px 30px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none !important;
        min-width: 260px;
        transition: all 0.2s ease;
        box-shadow: 0 8px 20px rgba(40, 167, 69, 0.2);
    }

    .notfount-btn:hover {
        background: #c72b3b;
        transform: translateY(-1px);
    }

    .payment-note {
        margin-top: 22px;
        font-size: 0.95rem;
        color: #6c757d;
    }

    @media (max-width: 767.98px) {
        .payment-card {
            padding: 35px 22px;
            border-radius: 18px;
        }

        .payment-title {
            font-size: 2rem;
        }

        .payment-text {
            font-size: 1rem;
        }

        .payment-btn {
            width: 100%;
            min-width: auto;
        }

        .success-icon {
            width: 90px;
            height: 90px;
        }
    }




    
.tabella-disponibilita-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    overflow: auto;
}

#tabellaDisponibilita.tabella-disponibilita {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1200px;
    font-size: 14px;
}

#tabellaDisponibilita th,
#tabellaDisponibilita td {
    padding: 14px 12px;
    text-align: center;
    vertical-align: middle;
    border-top: 0;
    border-left: 0;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

#tabellaDisponibilita thead th {
    background: #f8f9fa;
    color: #212529;
    font-weight: 700;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 5;
}

#tabellaDisponibilita thead th.colonna-flotta {
    left: 0;
    z-index: 6;
}

#tabellaDisponibilita tbody td.nome-barca {
    background: #f8f9fa;
    font-weight: 600;
    text-align: left;
    min-width: 220px;
    max-width: 220px;
    white-space: normal;
    position: sticky;
    left: 0;
    z-index: 4;
}

#tabellaDisponibilita tbody tr:nth-child(even) td.nome-barca {
    background: #f1f3f5;
}

#tabellaDisponibilita tbody tr:hover td {
    background: #fcfcfd;
}

#tabellaDisponibilita tbody tr:hover td.nome-barca {
    background: #e9ecef;
}

 

#tabellaDisponibilita td.disponibile,
#tabellaDisponibilita td.occupato {
    background: #ffffff;
}

.badge-stato {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

 
.data-giorno {
    min-width: 86px;
}

#tabellaDisponibilita tr:last-child td {
    border-bottom: 0;
}

#tabellaDisponibilita tr td:last-child,
#tabellaDisponibilita tr th:last-child {
    border-right: 0;
}


.disponibile {
    background: #e6f7ee !important;
    color: #198754;
    border: 1px solid #d1e7dd !important;
}

.occupato {
    background: #fdeaea !important;
    color: #dc3545;
    border: 1px solid #f5c2c7 !important;
}

td.disponibile:hover {
    background: #d1f7dc !important;
    cursor: pointer;
 
    transition: 0.15s ease;
}

td.occupato:hover {
    background: #ffd9dd !important;
    cursor: not-allowed;
}

 .mobile-barca-card {
    height: 100%;
    border-radius: 12px;
}

.mobile-barca-nome {
    font-size: 13px;
    line-height: 1.2;
    min-height: 38px; /* allinea le card */
}


.input-calendar {
    position: relative;
    width: 200px;
    margin: 0 auto; /* centra nel col-md-4 */
}

.input-calendar input {
    width: 100%;
    padding-right: 40px; /* spazio per icona */
}

.calendar-icon {
    position: absolute;
    right: 10px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.calendar-icon i {
    color: #666;
}