/* Contenitore per la tabella desktop */
.table-responsive-custom {
    width: 100%;
    overflow-x: auto;
}

/* La tabella ha larghezza minima per non spezzare */
.table-responsive-custom table {
    min-width: 900px;
    width: 100%;
}

/* Layout card mobile */
.clienti-mobile-list {
    display: none;
    padding: 0 16px;
}


.form-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.form-inner {
    width: 100%;
}

.form-fields {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-fields input {
    height: 41px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: dotted #00FFFF;
    font-size: 14px;
    width: 20%;
}

.btn-submit {
    height: 41px;
    border: none;
    font-weight: bold;
    color: white;
    background-color: #FFA500;
    cursor: pointer;
}
#container-filtri {
    margin-top: 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    gap: 10px;
}

@media (max-width: 768px) {
    h1{
        font-size: 1.5rem;
        margin-top: 10px;
    }
   
   .form-fields {
        flex-direction: column;
        align-items: center;
    }

    .form-fields input {
        width: 90%;
        margin-bottom: 10px;
        font-size: 16px;
    }
    
    #container-filtri {
        flex-direction: column;
        align-items: flex-start;
        font-size: 16px;
        padding: 0 15px;
    }

    #container-filtri select {
        width: 100%;
        margin-top: 5px;
        font-size: 16px;
    }

    #container-filtri p {
        margin-bottom: 5px;
    }
    
    .table-responsive-custom {
        display: none;
    }

    .clienti-mobile-list {
        display: block;
    }
    /* Mobile card styling */
.cliente-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.cliente-card p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding: 6px 0;
    margin: 0;
}

.cliente-card p strong {
    font-weight: 600;
    color: #444;
    min-width: 50%;
}

.cliente-card h5,
.cliente-card-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 15px;
    color: #222;
}

.cliente-card .btn {
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
}

.cliente-card .btn + .btn {
    margin-left: 6px;
}

}

